DatabaseReplicaState.SuspendReason 属性

Gets the reason for a database replica to be in suspended state.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property SuspendReason As DatabaseReplicaSuspendReason 
    Get
用法
Dim instance As DatabaseReplicaState 
Dim value As DatabaseReplicaSuspendReason 

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

属性值

类型:Microsoft.SqlServer.Management.Smo.DatabaseReplicaSuspendReason
The reason for a database replica to be in suspended state.

请参阅

参考

DatabaseReplicaState 类

Microsoft.SqlServer.Management.Smo 命名空间