Condividi tramite


Proprietà Status

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Status As TargetServerStatus
    Get
'Utilizzo
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

Valore proprietà

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