Click or drag to resize
LicenseInfoApplyLicense Method DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Checks a license, returns true and applies it to this object if it is valid.

Namespace: DataPA.Utils.QueryEngine
Assembly: DataPAQueryEngine (in DataPAQueryEngine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool ApplyLicense(
	string SerialNumber,
	string RegistrationCode,
	string User,
	string Organisation
)

Parameters

SerialNumber
Type: SystemString
The serial number of the license to be applied.
RegistrationCode
Type: SystemString
The registration code of the license to be applied.
User
Type: SystemString
The user this license is to be applied to.
Organisation
Type: SystemString
The organisation this license is to be applied to.

Return Value

Type: Boolean
True if the supplied license is valid.
Remarks