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(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Status As TargetServerStatus
    Get
用法
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

属性值

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