共用方式為


Status 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property Status As TargetServerStatus
    Get
'用途
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

屬性值

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