SiteInfoProvider CheckDomainNameForCollision Method Kentico 8.1 API Reference
Checks the specified domain name(and site) for collision with another running site.

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

Parameters

domainName
Type: OnlineSystem String
Domain name to be checked
siteId
Type: OnlineSystem Int32
ID of the site which holds the domain name (site is excluded from result)

Return Value

Type: OnlineDataSet
Dataset with data of the first site which is running under specified domain name.
See Also