CALicense

This page is a translated version of the page CALicense and the translation is 100% complete.
Other languages:
English • ‎中文

ADE用戶指南 > ADE服務器類型參考 >

一個CALicense可以直接獲取,例如:

license = new CALicense;

或者:

license = CreateObject("CALicense");

CALicense提供實例化CAEngine的方法,並且提供關於實例化為何失敗的詳細信息,如果你直接實例化CAEngine將無法獲取關於錯誤原因的信息。同時提供關於你所使用的ADE用戶指南許可證的限制條款信息。

即使你的ADE許可證是無效的,或者到期等等,仍然能夠或缺一個CALicense實例。這可能導致你的應用程序提示:「failed because。。。」。

建立

C#

CALicense license = new CALicense();

Visual Basic.NET

Dim license As CALicense = new CALicense

C++

VBScript

set license = CreateObject("CALicense")

Analytica 企業版

COMCreateObject("ADE.CALicense")

屬性

{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

方法

CAEngine NewCAEngine()

void SetApplicationLicenseCode(string)

另請參考

另請參考

CARenderingStyle <- CALicense -> IAdeUICallbacks
Comments


You are not allowed to post comments.