ReportLicensingStatus

This method returns either all license counter information, or just the active license counter information.

The information is saved in the H, D, V or U _log file.

An active counter license is the document or page limit licensing present in the license file.

For further details on licensing counters present or available in the license file, see the Brainware intelligent Capture Product Licensing Guide.

Syntax

ReportLicensingStatus (ReportActiveLicensingOnly as Boolean, Severity as SCBCdrPROJLib.CDRMessageSeverity)
Parameter Description
ReportActiveLicensingOnly

Possible values

  • True: Return only the license counters which are active in the license file.
  • False: Return all license counters.
Severity The location of the utilization output to be sent to.

Possible values

See CdrMessageSeverity

Sample Code

The following code example demonstrates how to get licensing utilization information for all licensing counters.

Project.ReportLicensingStatus(False, SCBCdrPROJLib.CDRMessageSeverity.CDRSeverityLogFileOnly)

Log file output example

Requested current licensing status for license "Internal" with
			 ID 00999-D7CDV811. License updated last time at 2007-11-16 21:02:55. Current
			 licensing period is [2] of 30 days. Project was started at 2007-10-17
			 15:20:31.
License status for [Processed Pages per Day = 500] (active).
			 Current utilization: 0.65%. Units processed: 97 in period of 1 day(s). Units
			 credit: 14903.

See also