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 » サーバー管理要求 » サーバー管理要求を使用した送信先エイリアスの作成

 

送信先エイリアスのメンバーの追加と削除

送信先エイリアスにメンバーを追加するには、プロパティでメンバーを指定するサーバー管理要求を作成します。グループを再起動してメンバー設定を有効にしてください。

次の例では、メンバー client3 を追加して、グループ 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>

送信先エイリアスからメンバーを削除するには、メンバーを削除する必要があることを示すプロパティを持つサーバー管理要求を作成します。グループを再起動してメンバーの削除設定を有効にする必要があります。

次の例では、メンバー client3 を削除して、グループ 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>