Click or drag to resize
BaseInfoCheckLicense Method
Checks the object license. Returns true if the licensing conditions for this object were matched.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
protected virtual bool CheckLicense(
	ObjectActionEnum action = ObjectActionEnum.Read,
	string domainName = null


action (Optional)
Type: CMS.DataEngineObjectActionEnum
Object action
domainName (Optional)
Type: SystemString
Domain name, if not set, uses current domain

Return Value

Type: Boolean
When overriding this method you should take into consideration CurrentCheckLicense flag. In case of failing license check you should throw LicenseException instead of returning false.
See Also