다음을 통해 공유


TargetServerGroups 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(TargetServerGroup))> _
Public ReadOnly Property TargetServerGroups As TargetServerGroupCollection
    Get
‘사용 방법
Dim instance As JobServer
Dim value As TargetServerGroupCollection

value = instance.TargetServerGroups
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetServerGroup))]
public TargetServerGroupCollection TargetServerGroups { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(TargetServerGroup))]
public:
property TargetServerGroupCollection^ TargetServerGroups {
    TargetServerGroupCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetServerGroup))>]
member TargetServerGroups : TargetServerGroupCollection
function get TargetServerGroups () : TargetServerGroupCollection

속성 값

유형: Microsoft.SqlServer.Management.Smo.Agent. . :: . .TargetServerGroupCollection
A TargetServerGroupCollection that represents the target server groups defined on SQL Server Agent.