Click or drag to resize
SiteInfoProviderGetSiteInfo Method (String)

Note: This API is now obsolete.

Returns the SiteInfo structure for a specified site.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISiteInfoProvider.Get(string) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SiteInfo.Provider.")]
public static SiteInfo GetSiteInfo(
	string siteName
)

Parameters

siteName
Type: SystemString
Site name for that retrieve the data

Return Value

Type: SiteInfo
See Also