This documentation is archived and is not being maintained.

TargetServerGroup Class

The TargetServerGroup object that represent a target server group defined for multi-server administration on SQL Server Agent.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public sealed class TargetServerGroup : AgentObjectBase, 
	ICreatable, IDroppable, IRenamable

To get or set TargetServerGroup object properties, users must be a member of the sysadmin fixed server role.

To create or drop a target server group, users must be a member of the sysadmin fixed server role.

To add or remove members, users must be a member of the sysadmin fixed server role.

To run methods on the TargetServerGroup object, users must be a member of the sysadmin fixed server role.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: