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 » Administering the server message store with server management requests


Deleting messages

To specify a clean-up policy on the server, set the property for the special client ianywhere.server.deleteRules with the rule or rules governing which messages can be deleted from the server.

The following example changes the message clean-up policy to delete expired and canceled messages:

<?xml version="1.0" encoding="UTF-8"?>
     <value>auto = ias_Status in ( ias_ExpiredStatus, ias_CancelledStatus ) and ias_TransmissionStatus = IAS_TRANSMITTED</value>