다음을 통해 공유


TargetServers 속성

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

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

구문

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

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

속성 값

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