SiteInfoProvider EnsureSiteName Method Kentico 8.1 API Reference
Ensures the site name value, if the value is null, sets the current site name to the value.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

siteName
Type: OnlineSystem String 
Site name

Return Value

Type: OnlineString
See Also