Click or drag to resize
LicenseHelperIsFeatureAvailableInBestLicense Method
Indicates if specified feature is available based on whether equivalent module is loaded and specified feature is available in user's best license.

Namespace: CMS.LicenseProvider
Assembly: CMS.LicenseProvider (in CMS.LicenseProvider.dll) Version: 10.0.0
Syntax
C#
public static bool IsFeatureAvailableInBestLicense(
	FeatureEnum feature,
	string moduleName = null
)

Parameters

feature
Type: CMS.DataEngineFeatureEnum
Feature to check if it is available in user's best license.
moduleName (Optional)
Type: SystemString
Module to check if it is loaded. The check is omitted if module name is null or empty.

Return Value

Type: Boolean
See Also