JobServer.TargetServerGroups JobServer.TargetServerGroups JobServer.TargetServerGroups Property

Definition

Represents a collection of TargetServerGroup objects. Each TargetServerGroup object represents a target server group defined on SQL Server Agent.

public:
 property Microsoft::SqlServer::Management::Smo::Agent::TargetServerGroupCollection ^ TargetServerGroups { Microsoft::SqlServer::Management::Smo::Agent::TargetServerGroupCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.Agent.TargetServerGroup))]
public Microsoft.SqlServer.Management.Smo.Agent.TargetServerGroupCollection TargetServerGroups { get; }
Public ReadOnly Property TargetServerGroups As TargetServerGroupCollection
Property Value

A TargetServerGroupCollection that represents the target server groups defined on SQL Server Agent.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

Applies to