Click or drag to resize
LicenseKeyInfoCheckServerCount Method
Check if specified server count is above license limitations.

Namespace: CMS.LicenseProvider
Assembly: CMS.LicenseProvider (in CMS.LicenseProvider.dll) Version: 8.2.23
Syntax
C#
public bool CheckServerCount(
	int count,
	ObjectActionEnum action
)

Parameters

count
Type: SystemInt32
Server count
action
Type: CMS.DataEngineObjectActionEnum
If action is insert count is automatically increased by one

Return Value

Type: Boolean
True if server count ok, false if it is not permitted by the license
See Also