Changes the name of the specified target server group.
sp_update_targetservergroup [@name =] 'current_name'
[, [@new_name =] 'new_name']
0 (success) or 1 (failure)
None
Only members of the sysadmin fixed server role can execute sp_update_targetservergroup.
sp_update_targetservergroup must be run from the msdb database.
This example updates the target server group of Weekly Bakups to Weekly Backups.
USE msdb
EXEC sp_update_targetservergroup 'Weekly Bakups', 'Weekly Backups'
sp_add_targetservergroup | sp_delete_targetservergroup |
sp_help_targetservergroup | System Stored Procedures |