CheckLicenseFile

Method
Checks whether the license file that is currently in use contains permissions for a specified object.

Category
Database

 

Syntax
Sub CheckLicenseFile(ByVal ObjectNo As Long)

ObjectNo
The number of the object for which permissions are to be checked.

 

Example

'Case "Checklicensefile"

'Checking license-file

  CF1.CheckLicenseFile .Text1(cf.LicenseFileObjectNo).Text

  logWr "Licensefile checked, object no: " + .Text1(cf.LicenseFileObjectNo).Text

 

Comments
The permissions for the object specified by ObjectNo are checked against the license file. If the required permissions are not specified in the license file, an error (which you will have to handle) occurs.



© 2009 Microsoft Corporation. All rights reserved.