Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MirroringOption Enumeration

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
public enum MirroringOption
Member nameDescription
FailoverValue = 4. Initiates a failover for the database.
ForceFailoverAndAllowDataLossValue = 5. Forces a failover for the database.
OffValue = 0. Terminates mirroring for the database.
RemoveWitnessValue = 3. Removes the witness for mirroring on the database.
ResumeValue = 2. Resumes mirroring for the database.
SuspendValue = 1. Suspends mirroring for the database.

The MirroringOption enumeration class is served by the ChangeMirroringState method.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.