Click or drag to resize
ILicenseServiceIsFeatureAvailable Method
Checks whether the given feature is available on given domain.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
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: Boolean
true if the feature is available on given domain; otherwise, false
Remarks
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