Click or drag to resize
CultureSiteInfoProvider.LicenseVersionCheck Method (String, FeatureEnum, ObjectActionEnum)
Checks if domain has license supporting specified feature.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 10.0.0
Syntax
C#
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: Boolean
True if license includes the feature, otherwise false
See Also