Click or drag to resize
ResourceSiteInfoProviderIsResourceOnSite Method
Returns if the resource is available for specified site.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 11.0.0
Syntax
C#
public static bool IsResourceOnSite(
	string resourceName,
	string siteName
)

Parameters

resourceName
Type: SystemString
Name of the resource
siteName
Type: SystemString
Name of the site

Return Value

Type: Boolean
See Also