To add members to a destination alias, create a server management request that specifies the member in a property. The group must be restarted for the member setting to take effect.
The following example adds the member client3 and restarts the group simpleGroup:
<?xml version="1.0" encoding="UTF-8"?> <actions> <SetProperty> <prop> <client>simpleGroup</client> <name>ianywhere.qa.member.client3</name> <value>Y</value> </prop> </SetProperty> <CloseConnector> <client>simpleGroup</client> </CloseConnector> <OpenConnector> <client>simpleGroup</client> </OpenConnector> </actions> |
To remove members from a destination alias, create a server management request that contains a property setting indicating that the member must be removed. The group must be restarted for the member removal setting to take effect.
The following example removes the member client3 and restarts the group simpleGroup:
<?xml version="1.0" encoding="UTF-8"?> <actions> <SetProperty> <prop> <client>simpleGroup</client> <name>ianywhere.qa.member.client3</name> </prop> </SetProperty> <CloseConnector> <client>simpleGroup</client> </CloseConnector> <OpenConnector> <client>simpleGroup</client> </OpenConnector> </actions> |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |