다음을 통해 공유


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 네임스페이스