TargetServer.Status Property

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 (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property Status As TargetServerStatus
    Get
'Usage
Dim instance As TargetServer
Dim value As TargetServerStatus

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

Property Value

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