共用方式為


MirroringWitnessStatus 列舉

The MirroringWitnessStatus enumeration contains values that specify the state of the mirroring witness.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration MirroringWitnessStatus
'用途
Dim instance As MirroringWitnessStatus
public enum MirroringWitnessStatus
public enum class MirroringWitnessStatus
type MirroringWitnessStatus
public enum MirroringWitnessStatus

成員

成員名稱 說明
Connected Value = 2. Mirroring witness is connected.
Disconnected Value = 3. Mirroring witness is disconnected.
None Value = 0. The database is not mirrored.
Unknown Value = 1. The state of the mirroring witness is unknown.

備註

The MirroringWitnessStatus enumeration method is served by the MirroringWitnessStatus property.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間