Click or drag to resize
SiteInfoProviderGetSiteInfo Method (Int32)

Note: This API is now obsolete.

Returns the site info object with specified ID.

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

Parameters

siteId
Type: SystemInt32
Site ID for that retrieve the info structure

Return Value

Type: SiteInfo
See Also