ResourceSiteInfoProviderIsResourceOnSite Method |
Returns if the resource is available for specified site.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 8.2.23
Syntax 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:
BooleanSee Also