CultureSiteInfoProvider.LicenseVersionCheck Method (String, FeatureEnum, ObjectActionEnum) |
Checks if domain has license supporting specified feature.
Namespace: CMS.SiteProviderAssembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 10.0.0
Syntax public static bool LicenseVersionCheck(
string domain,
FeatureEnum feature,
ObjectActionEnum action
)
Parameters
- domain
- Type: System.String
The domain carrying the license - feature
- Type: CMS.DataEngine.FeatureEnum
The feature to be checked - action
- Type: CMS.DataEngine.ObjectActionEnum
The action to complete. If it is insert action currentStatus count is increased to check the state after insertion
Return Value
Type:
BooleanTrue if license includes the feature, otherwise false
See Also