MirroringOption 列舉型別
The MirroringOption enumeration contains values that specify the mirroring options for a database.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)
語法
'宣告
Public Enumeration MirroringOption
'用途
Dim instance As MirroringOption
public enum MirroringOption
public enum class MirroringOption
type MirroringOption
public enum MirroringOption
成員
| 成員名稱 | 描述 | |
|---|---|---|
| Off | Value = 0. Terminates mirroring for the database. | |
| Suspend | Value = 1. Suspends mirroring for the database. | |
| Resume | Value = 2. Resumes mirroring for the database. | |
| RemoveWitness | Value = 3. Removes the witness for mirroring on the database. | |
| Failover | Value = 4. Initiates a failover for the database. | |
| ForceFailoverAndAllowDataLoss | Value = 5. Forces a failover for the database. |