getQueryViewer と getReportViewer を除くすべての API コマンドでは、コマンドが成功したかどうか、および失敗した場合はその理由を記述した XML で要素が返されます。
API の結果の例
<?xml version="1.0" encoding="UTF-8" ?> <Result> <Value>true</Value> <Description>Get Object Successful. Type [getQueryList]</Description> <Items> <Item edit="false"> <Panel id="Subscription/panels/Unclassified_Event_Detail" name="Unclassified Event Detail" shortname="Detail" subscription="true" type="EventViewer" version="12.0.46.5"> <Description>Provides event details for unclassified event activity</Description>
この場合、結果値は「true」となっており、成功したことを示しています。また <Description> タグ内には実行されたコマンドが記述されています。
| Copyright © 2011 CA. All rights reserved. | このトピックについて CA Technologies に電子メールを送信する |