MirroringOption MirroringOption MirroringOption Enum


The MirroringOption enumeration contains values that specify the mirroring options for a database.

public enum class MirroringOption
public enum MirroringOption
Public Enum MirroringOption


Failover Failover Failover 4

Value = 4. Initiates a failover for the database.

ForceFailoverAndAllowDataLoss ForceFailoverAndAllowDataLoss ForceFailoverAndAllowDataLoss 5

Value = 5. Forces a failover for the database.

Off Off Off 0

Value = 0. Terminates mirroring for the database.

RemoveWitness RemoveWitness RemoveWitness 3

Value = 3. Removes the witness for mirroring on the database.

Resume Resume Resume 2

Value = 2. Resumes mirroring for the database.

Suspend Suspend Suspend 1

Value = 1. Suspends mirroring for the database.


The MirroringOption enumeration class is served by the ChangeMirroringState method.

Applies to