Click or drag to resize
CultureSiteInfoProviderAddCultureToSite Method (Int32, Int32)

Note: This API is now obsolete.

Adds the class to the specified site.

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

Parameters

cultureId
Type: SystemInt32
CultureID
siteId
Type: SystemInt32
SiteID
Exceptions
ExceptionCondition
ExceptionThrows Exception if license limitations are not fulfilled.
See Also