Click or drag to resize
LicenseHelperCheckLicenseLimitations Method
Checks that number of feature-related objects on current website does not exceed the license limitations.

Namespace: CMS.LicenseProvider
Assembly: CMS.LicenseProvider (in CMS.LicenseProvider.dll) Version: 11.0.0
Syntax
C#
public static bool CheckLicenseLimitations(
	FeatureEnum feature,
	out int currentObjectCount,
	out int maxObjectCount
)

Parameters

feature
Type: CMS.DataEngineFeatureEnum
Feature to be checked
currentObjectCount
Type: SystemInt32
Number of feature-related objects on current website
maxObjectCount
Type: SystemInt32
Maximum allowed number of feature-related objects. 0 is unlimited

Return Value

Type: Boolean
See Also