Aracılığıyla paylaş


JobServer.TargetServers Property

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

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

Syntax

'Bildirim
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(TargetServer))> _
Public ReadOnly Property TargetServers As TargetServerCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(TargetServer))] 
public TargetServerCollection TargetServers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(TargetServer))] 
public:
property TargetServerCollection^ TargetServers {
    TargetServerCollection^ get ();
}
/** @property */
public TargetServerCollection get_TargetServers ()
public function get TargetServers () : TargetServerCollection

Property Value

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

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.