ILicense::Activate Method

Activates the Server's machine license.

IDL

[id(0x000000CE)]

HRESULT _stdcall Activate([in] BSTR customerId, [in] BSTR serial, [out] longresultCode, [out] BSTR* resultTex, [out, retval] VARIANT_BOOL* Value);

Parameters

Parameters

Description

[in] BSTR customerId

Customer identification

[in] BSTR serial

Serial number

[out] long* resultCode

Result code

resultText

Error message

Returns

True if the license was successfully activated. False otherwise (in which case check resultCode and resultText).

Group

ILicense Methods