Compartilhar via


Propriedade do RDL TargetServer.Status

Gets information about the current component execution status or integrity status of the referenced target server.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Status As TargetServerStatus 
    Get
'Uso
Dim instance As TargetServer 
Dim value As TargetServerStatus 

value = instance.Status
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public TargetServerStatus Status { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property TargetServerStatus Status {
    TargetServerStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Status : TargetServerStatus
function get Status () : TargetServerStatus

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Agent.TargetServerStatus
A TargetServerStatus object value that specifies the current execution and integrity status of the target server.

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

TargetServer Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

Tarefas de administração automatizadas (SQL Server Agent)

sp_help_targetserver (Transact-SQL)