Click or drag to resize
LicenseInfo Class DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Class contains information relating to the currently installed or loaded license on the client.
Inheritance Hierarchy
SystemObject
  DataPA.Utils.QueryEngineLicenseInfo

Namespace: DataPA.Utils.QueryEngine
Assembly: DataPAQueryEngine (in DataPAQueryEngine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class LicenseInfo : _LicenseInfo

The LicenseInfo type exposes the following members.

Constructors
  NameDescription
Public methodLicenseInfo
Creates and returns a new LicenseInfo object for this user.
Public methodLicenseInfo(Application)
Creates and returns a new LicenseInfo object for this user.
Public methodLicenseInfo(String, String, String, String)
Creates and returns a new LicenseInfo object using the license supplied.
Public methodLicenseInfo(Application, String, String, String, String)
Creates and returns a new LicenseInfo object using the license supplied.
Top
Methods
  NameDescription
Public methodApplyLicense
Checks a license, returns true and applies it to this object if it is valid.
Public methodApplyLicenseType
Public methodDispose
Disposes of the object
Public methodInheritServerLicense
Public methodLoadLocalLicense
Loads the current license from the config file or registry on the local machine.
Public methodPersistCurrentLicenseOnClient
Saves the current license to the configuration files.
Top
Fields
Properties
  NameDescription
Public propertyAllowSQLBuilder
Gets a flag that specifies whether the user has a license that gives access to the SQL builder.
Public propertyClone
Gets cloned copy of this object.
Public propertyExpiryDate
Gets a value that indicates the expiry date of the current license.
Public propertyOrganisation
Gets the Organisation this license is valid for.
Public propertyParent
The object that represents the parent of this object.
Public propertyQuantity
Gets the quanity of the current license.
Public propertySerialNumber
Gets the serial number of the current license.
Public propertySupressEvaluationWarning
Gets and sets a value that indicates if warnings that an evaluation license is about to expire should be suppressed.
Public propertyType
Gets the type of this license.
Public propertyUser
Gets the user this license is valid for.
Top
Events
  NameDescription
Public eventLicenseChanged
Event raised when the license on this client changes.
Top
Remarks