Click or drag to resize
SiteInfoProviderCheckDomainNameForCollision Method
Checks the specified domain name(and site) for collision with another running site.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 9.0.0
Syntax
C#
public static DataSet CheckDomainNameForCollision(
	string domainName,
	int siteId
)

Parameters

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

Return Value

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