Click or drag to resize
ClassSiteInfoProviderAddClassToSite Method

Note: This API is now obsolete.

Adds the class to the specified site.

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

Parameters

classId
Type: SystemInt32
ClassID
siteId
Type: SystemInt32
SiteID
See Also