Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » QAnywhere » 服务器管理请求 » QAnywhere 监控

 

属性监控

可以使用服务器管理请求查看为客户端设置了哪些属性。响应仅列出已为客户端设置的属性(非缺省属性)。

要获取客户端属性列表,请在您的服务器管理请求中使用 <GetProperties> 标记。例如:

<?xml version="1.0" encoding="UTF-8"?>
<actions>
 <GetProperties>
  <client>ianywhere.connector.myConnector</client>
 </GetProperties>
</actions>

生成的响应被发送到包含该请求的消息的回复地址。该响应包含客户端名称和一列 <prop> 标记,每个该标记都包含一个属性的详细信息。例如:



<?xml version="1.0" encoding="UTF-8"?>
<GetPropertiesResponse>
 <client>ianywhere.connector.myConnector</client>
 <prop>
  <name>ianywhere.connector.logLevel</name>
  <value>4</value>
 </prop>
 <prop>
  <name>ianywhere.connector.state</name>
  <value>2</value>
 </prop>
</GetPropertiesResponse>
 另请参见