Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Applies to:
SQL Server
Deletes the specified target server group.
Transact-SQL syntax conventions
Syntax
sp_delete_targetservergroup [ @name = ] N'name'
[ ; ]
Arguments
[ @name = ] N'name'
The name of the target server group to remove. @name is sysname, with no default.
Return code values
0 (success) or 1 (failure).
Result set
None.
Permissions
You can grant EXECUTE permissions on this procedure, but these permissions might be overridden during a SQL Server upgrade.
Examples
The following example removes the target server group Servers Processing Customer Orders.
USE msdb;
GO
EXECUTE sp_delete_targetservergroup @name = N'Servers Processing Customer Orders';
GO