Click or drag to resize
SiteInfoProviderGetSiteID Method
Returns ID of the specified site, or 0 if site not found.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 9.0.0
Syntax
C#
public static int GetSiteID(
	string siteName
)

Parameters

siteName
Type: SystemString
Site name

Return Value

Type: Int32
See Also