Proprietà DatabaseReplicaState.SuspendReason
Gets the reason for a database replica to be in suspended state.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property SuspendReason As DatabaseReplicaSuspendReason
Get
'Utilizzo
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
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseReplicaSuspendReason
The reason for a database replica to be in suspended state.