Partilhar via


MirroringOption Enum

Definition

The MirroringOption enum is used to change the state or a Database mirror.

public enum MirroringOption
type MirroringOption = 
Public Enum MirroringOption
Inheritance
MirroringOption

Fields

Name Value Description
Off 0

Terminate database mirroring.

Suspend 1

Suspend database mirroring.

Resume 2

Resume database mirroring.

RemoveWitness 3

Removes the witness.

Failover 4

Initiate a failover.

ForceFailoverAndAllowDataLoss 5

Forces a failover

Applies to