Propriedade do RDL JobServer.TargetServers
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 (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(TargetServer))> _
Public ReadOnly Property TargetServers As TargetServerCollection
Get
'Uso
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
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Agent.TargetServerCollection
A TargetServerCollection that represents the target server defined on SQL Server Agent.
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent
Outros recursos
Tarefas de administração automatizadas (SQL Server Agent)
Procedimentos armazenados do SQL Server Agent (Transact-SQL)