ILicenseServiceIsFeatureAvailable Method |
Checks whether the given feature is available on given domain.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax bool IsFeatureAvailable(
FeatureEnum feature,
string domain = null
)
Parameters
- feature
- Type: CMS.DataEngineFeatureEnum
Feature to be checked - domain (Optional)
- Type: SystemString
Domain the feature is checked against. If null, the domain will be obtained from the context
Return Value
Type:
Booleantrue if the
feature is available on given
domain; otherwise,
falseRemarks
If the method is called outside the request and domain is null, check is performed against the best license available on the instance.
See Also