DatabaseReplicaSuspendReason Enum

Definition

The different reasons for a database replica to be in suspended state.

[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.DatabaseReplicaSuspendReasonConverter))]
public enum DatabaseReplicaSuspendReason
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.DatabaseReplicaSuspendReasonConverter))>]
type DatabaseReplicaSuspendReason = 
Public Enum DatabaseReplicaSuspendReason
Inheritance
DatabaseReplicaSuspendReason
Attributes

Fields

Name Value Description
SuspendFromUser 0

User initiated suspend command.

SuspendFromPartner 1

Partner initiated suspend command.

SuspendFromRedo 2

The database replica is currently in redo mode.

SuspendFromApply 3

The database replica is currently in apply mode.

SuspendFromCapture 4

The database replica is currently in capture mode.

SuspendFromRestart 5

The database replica is restarting.

SuspendFromUndo 6

The database replica is currently in undo mode.

NotApplicable 7

The database is not suspended.

Applies to