Click or drag to resize
SiteInfoProviderGetRunningSiteInfo Method
Returns the running SiteInfo selected by specified domain name, if the site is not running, returns null.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax
C#
public static SiteInfo GetRunningSiteInfo(
	string domainName,
	string applicationPath
)

Parameters

domainName
Type: SystemString
Domain name
applicationPath
Type: SystemString
Application path

Return Value

Type: SiteInfo
See Also