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

SQL Anywhere 11.0.0 » QAnywhere » Creating QAnywhere Applications » Server management requests » Monitoring QAnywhere

 

Monitoring properties

You can use a server management request to see what properties are set for a client. The response lists only the properties that have been set for the client (not defaults).

For an overview of how to use server management requests, including how to authenticate and schedule them, see Introduction to server management requests.

To get a list of properties for a client, use the <GetProperties> tag in your server management request. For example:

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

The response that is generated is sent to the reply address of the message containing the request. The response contains the name of the client and a list of <prop> tags, each containing the details of one property. For example:

<?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>