|
License Manager で検出されたすべての Pervasive Software 製品についての情報を持つ xml 文字列を取得します。
ヘッダー ファイル:dtilicense.h(ヘッダー ファイルも参照)
関数が最初に利用可能になるライブラリ:w3dbav90.dll(Windows)、libpsqldti.so(Linux)(リンク ライブラリも参照)
In
|
hConnection
|
サーバーを識別する接続ハンドル。接続ハンドルは PvConnectServer() (DTI 関数)関数によって取得されます。
|
Out
|
productInfo
|
返された製品情報を持つ XML 文字列。
|
In/Out
|
pBufSize
|
文字列を受け取るために割り当てられたバッファーのサイズを格納する、符号なし Long 型のアドレス。選択文字列の実際の長さを受け取ります。
|
DBU_SUCCESS
|
操作は成功しました。
|
P_E_FAIL
|
その他の理由により失敗しました。
|
ライセンス管理または認証に関するステータス コード
|
License Administrator のステータス コードおよび認証ステータス コードは、『Status Codes and Messages』を参照してください。
|
以下の前提条件を満たす必要があります。
以下に、PvGetProductsInfo()
によって返される XML 文字列のドキュメント型定義(DTD)とその用語について説明します。
<!DOCTYPE products [ <!ELEMENT products (product*)> <!ELEMENT product (name,id,licenses)> <!ELEMENT name (#PCDATA)> <!ELEMENT id (#PCDATA)> <!ELEMENT licenses (license*)> <!ELEMENT license (type,productCode*,productKey*,state*,feature*,edit ion*,maxUserCount*,maxSessionCount*,maxDataInUseGB* ,platform*,sequence*,userCount*,sessionCount*,dataI nUseGB*,timeStamp*,oemId*,application*,description* ,isremovable*,gracePeriodEnd*)> <!ELEMENT type (#PCDATA)> <!ELEMENT productCode (#PCDATA)> <!ELEMENT productKey (#PCDATA)> <!ELEMENT state (#PCDATA)> <!ELEMENT feature (#PCDATA)> <!ELEMENT edition (#PCDATA)> <!ELEMENT maxUserCount (#PCDATA)> <!ELEMENT maxSessionCount (#PCDATA)> <!ELEMENT maxDataInUseGB (#PCDATA)> <!ELEMENT platform (#PCDATA)> <!ELEMENT sequence (#PCDATA)> <!ELEMENT userCount (#PCDATA)> <!ELEMENT sessionCount (#PCDATA)> <!ELEMENT dataInUseGB (#PCDATA)> <!ELEMENT timeStamp (#PCDATA)> <!ELEMENT oemId (#PCDATA)> <!ELEMENT application (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT isremovable (#PCDATA)> <!ELEMENT gracePeriodEnd (#PCDATA)> ]>
<?xml version="1.0" encoding='UCS-4' ?> <!DOCTYPE products [ <!ELEMENT products (product*)> <!ELEMENT product (name,id,licenses)> <!ELEMENT name (#PCDATA)> <!ELEMENT id (#PCDATA)> <!ELEMENT licenses (license*)> <!ELEMENT license (type,productCode*,productKey*,state*,feature*,edit ion*,maxUserCount*,maxSessionCount*,maxDataInUseGB* ,platform*,sequence*,userCount*,sessionCount*,dataI nUseGB*,timeStamp*,oemId*,application*,description* ,isremovable*,gracePeriodEnd*)> <!ELEMENT type (#PCDATA)> <!ELEMENT productCode (#PCDATA)> <!ELEMENT productKey (#PCDATA)> <!ELEMENT state (#PCDATA)> <!ELEMENT feature (#PCDATA)> <!ELEMENT edition (#PCDATA)> <!ELEMENT maxUserCount (#PCDATA)> <!ELEMENT maxSessionCount (#PCDATA)> <!ELEMENT maxDataInUseGB (#PCDATA)> <!ELEMENT platform (#PCDATA)> <!ELEMENT sequence (#PCDATA)> <!ELEMENT userCount (#PCDATA)> <!ELEMENT sessionCount (#PCDATA)> <!ELEMENT dataInUseGB (#PCDATA)> <!ELEMENT timeStamp (#PCDATA)> <!ELEMENT oemId (#PCDATA)> <!ELEMENT application (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT isremovable (#PCDATA)> <!ELEMENT gracePeriodEnd (#PCDATA)> ]> <products> <product> <name>DataExchange 5 Server: Real-Time Backup</name> <id>78</id> <licenses> <license> <type>1</type> <productCode>78</productCode> <productKey> ABCDE-55555-FGHIJ-55555-KLMNO- 55555</productKey> <state>0</state> <feature>0</feature> <edition>0</edition> <maxUserCount>0</maxUserCount> <maxSessionCount>0</maxSessionCount> <maxDataInUseGB>0</maxDataInUseGB> <platform>2</platform> <sequence>0</sequence> <userCount>1</userCount> <sessionCount>0</sessionCount> <dataInUseGB>0</dataInUseGB> <timeStamp>0</timeStamp> <oemId>0</oemId> <application>0</application> <description></description> <isremovable>1</isremovable> <gracePeriodEnd>-1</gracePeriodEnd> </license> </licenses> </product> <product> <name>Pervasive PSQL 11 Server</name> <id>425</id> <licenses> <license> <type>2</type> <productCode>425</productCode> <productKey></productKey> <state>0</state> <feature>0</feature> <edition>0</edition> <maxUserCount>0</maxUserCount> <maxSessionCount>0</maxSessionCount> <maxDataInUseGB>0</maxDataInUseGB> <platform>2</platform> <sequence>0</sequence> <userCount>10</userCount> <sessionCount>0</sessionCount> <dataInUseGB>0</dataInUseGB> <timeStamp>4489</timeStamp> <oemId>8</oemId> <application>604</application> <description></description> <isremovable>0</isremovable> <gracePeriodEnd></gracePeriodEnd> </license> <license> <type>4</type> <productCode>425</productCode> <productKey></productKey> <state>0</state> <feature>0</feature> <edition>0</edition> <maxUserCount>0</maxUserCount> <maxSessionCount>0</maxSessionCount> <maxDataInUseGB>0</maxDataInUseGB> <platform>1</platform> <sequence>11200</sequence> <userCount>20</userCount> <sessionCount>0</sessionCount> <dataInUseGB>0</dataInUseGB> <timeStamp>4429</timeStamp> <oemId>0</oemId> <application>1</application> <description></description> <isremovable>0</isremovable> <gracePeriodEnd></gracePeriodEnd> </license> <license> <type>1</type> <productCode>425</productCode> <productKey> ABCDE-55555-FGHIJ-55555-KLMNO- 55555</productKey> <state>0</state> <feature>0</feature> <edition>0</edition> <maxUserCount>0</maxUserCount> <maxSessionCount>0</maxSessionCount> <maxDataInUseGB>0</maxDataInUseGB> <platform>2</platform> <sequence>0</sequence> <userCount>10</userCount> <sessionCount>0</sessionCount> <dataInUseGB>0</dataInUseGB> <timeStamp>0</timeStamp> <oemId>333</oemId> <application>334</application> <description></description> <isremovable>1</isremovable> <gracePeriodEnd>-1</gracePeriodEnd> </license> </licenses> </product> </products>
PvValidateLicenses()
PvConnectServer() (DTI 関数)
PvStart() (DTI 関数)
PvStop() (DTI 関数)
|