Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.SiteProvider
SiteContext Class
SiteContext Properties
CurrentCategory Property
CurrentSite Property
CurrentSiteID Property
CurrentSiteName Property
SiteContext
CurrentSiteID Property
Returns current site ID.
Namespace:
CMS.SiteProvider
Assembly:
CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
int
CurrentSiteID
{
get
;
set
; }
Property Value
Type:
Int32
See Also
Reference
SiteContext Class
CMS.SiteProvider Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com