LicenseInfoApplyLicense Method |
|
DataPA OpenAnalytics API Reference
Checks a license, returns true and applies it to this object if it is valid.
Namespace: DataPA.Utils.QueryEngineAssembly: 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
)
Public Function ApplyLicense (
SerialNumber As String,
RegistrationCode As String,
User As String,
Organisation As String
) As Boolean
public:
virtual bool ApplyLicense(
String^ SerialNumber,
String^ RegistrationCode,
String^ User,
String^ Organisation
) sealed
function ApplyLicense(SerialNumber, RegistrationCode, User, 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:
BooleanTrue if the supplied license is valid.
Remarks See Also