Click or drag to resize
ResourceSiteInfoProviderRemoveResourceFromSite Method

Note: This API is now obsolete.

Removes specified resource from site.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IResourceSiteInfoProvider.Remove(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ResourceSiteInfo.Provider.")]
public static void RemoveResourceFromSite(
	int resourceId,
	int siteId
)

Parameters

resourceId
Type: SystemInt32
ResourceID
siteId
Type: SystemInt32
SiteID
See Also