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)
Syntax
'Bildirim
Public Enumeration MirroringOption
public enum MirroringOption
public enum class MirroringOption
public enum MirroringOption
public enum MirroringOption
Members
Member name | Description |
---|---|
Failover | Value = 4. Initiates a failover for the database. |
ForceFailoverAndAllowDataLoss | Value = 5. Forces a failover for the database. |
Off | Value = 0. Terminates mirroring for the database. |
RemoveWitness | Value = 3. Removes the witness for mirroring on the database. |
Resume | Value = 2. Resumes mirroring for the database. |
Suspend | Value = 1. Suspends mirroring for the database. |
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.