GetLicenseValueById
This method returns the license counter information for any given item in the license file.
Note: This method is not available for engine-level counters. Use GetLicenseValueByName instead.
Syntax
GetLicenseValueByID(PropertyID as SCBCdrPROJLib.CDRLicenseFeatureName, Value as Variant)
Parameter | Description |
---|---|
PropertyID | Depicts the item for which to get the values. Various options can be found in CdrLicenseFeatureName. |
Value | The returned value from the licensing mechanism. The data type varies depending on the item being returned. |
Sample Code
The following sample code returns the Email Importing flag in the license file.
Dim theLicensingInterface as SCBCdrPROJLib.SCBCdrLicenseInfoAccess
Dim theObject as Object
Dim vValue1 as Variant
Dim LicInfoMsg as String
Set theObject = Project
Set theLicensingInterface = theObject
theLicensingInterface.GetLicenseValueByID(CDRLfnEMailsImporting, vValue1)
LicInfoMsg = "Email Importing - " & CStr(vValue1)
MsgBox(LicInfoMsg, vbOkOnly,"Get License Value By ID")