Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the reason for a database replica to be in suspended state.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property SuspendReason As DatabaseReplicaSuspendReason
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseReplicaSuspendReason
The reason for a database replica to be in suspended state.