Help Replication and Event Publishing

ALTER GROUP command

Use the ALTER GROUP command to alter a group of replication monitor contacts.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-ALTER GROUP--group-name--+----------------------------+------>
                            '-DESCRIPTION--"description"-'   

                   .-,-------------.             
                   V               |             
>--+-NEW CONTACTS----contact-name1-+---------+-----------------><
   |           .-,-------------------------. |   
   |           V                           | |   
   '-CONTACTS----contact-name2--+-ADD----+-+-'   
                                '-REMOVE-'       

Parameters

group-name
Specifies the name of the group. The group must exist.
DESCRIPTION "description"
Specifies a brief description for the group. The double quotation marks are required.
NEW CONTACTS contact-name1
Specifies a comma-separated list of contacts that belong to this group. This list overwrites the existing list of contacts for the group.
CONTACTS contact-name2
ADD
Specifies a comma-separated list of contacts to add to this group.
REMOVE
Specifies a comma-separated list of contacts to remove from this group.

Example

To alter a group MAINTENANCE by removing a contact PERFORMANCE:
ALTER GROUP MAINTENANCE CONTACTS PERFORMANCE REMOVE


Send your feedback | Information roadmap | Replication group on My developerWorks

Update icon Last updated: 2011-10-21