CALicense

Revision as of 13:11, 9 October 2015 by Jhuawen (talk | contribs) (Created page with " CALicense提供实例化 CAEngine的方法,并且提供关于实例化为何失败的详细信息,如果你直接实例化CAEngine/zh...")
Other languages:
English • ‎中文

ADE 用户指南 > ADE服务器类型参考 >

一个 CALicense可以直接获取,例如:

license = new CALicense;

或者:

license = CreateObject("CALicense");

CALicense提供实例化 CAEngine的方法,并且提供关于实例化为何失败的详细信息,如果你直接实例化 CAEngine将无法获取关于错误原因的信息。同时提供关于你所使用的 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

See Also

CARenderingStyle <- CALicense -> IAdeUICallbacks
Comments


You are not allowed to post comments.