CALicense

Revision as of 20:40, 12 May 2015 by Lchrisman (talk | contribs)

<< Analytica Decision Engine (ADE) API

class CALicense (ADE)

A CALicense object can be obtained directly, for example:

license = new CALicense;

Or:

license = CreateObject("CALicense");

The CALicense provides a method for instantiating a CAEngine, and provides details about why such an instantiation failed, which would otherwise not be available if you instantiate the CAEngine directly. It also provides some information about limitations in your license to use ADE.

A CALicense instance can be obtained even if your ADE license code is invalid, expired, etc. This makes it possible for your application to say “failed because ....”.

Creation

C#

CALicense license = new CALicense();

Visual Basic.NET

Dim license As CALicense = new CALicense

C++

VBScript

set license = CreateObject("CALicense")

Analytica Enterprise

COMCreateObject("ADE.CALicense")

Properties

{get} long AvailableLicenseInstances

{get} bool CanUseOptimizer

{get} short int ErrorCode

{get} string ErrorText

{get} long MaxLicenseInstances

{get} string RlmHostId

{get} string RlmPath

{get} string RlmUserId

Methods

CAEngine NewCAEngine()

void SetApplicationLicenseCode(string)

See Also

Comments


You are not allowed to post comments.