Aracılığıyla paylaş


JobServer.TargetServers Özelliği

Temsil eden bir koleksiyon , TargetServer nesneler.Her TargetServer nesnesini temsil eden bir hedef sunucu üzerinde tanımlı SQL Server Aracısı.

Ad Alanı:  Microsoft.SqlServer.Management.Smo.Agent
Derleme:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)

Sözdizimi

'Bildirim
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(TargetServer))> _
Public ReadOnly Property TargetServers As TargetServerCollection
    Get
'Kullanım
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

Özellik Değeri

Tür: Microsoft.SqlServer.Management.Smo.Agent.TargetServerCollection
A TargetServerCollection temsil eden hedef sunucu üzerinde tanımlı SQL Server Aracısı.