Sdílet prostřednictvím


MirroringWitnessStatus Enumeration

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Declaration
Public Enumeration MirroringWitnessStatus
'Usage
Dim instance As MirroringWitnessStatus
public enum MirroringWitnessStatus
public enum class MirroringWitnessStatus
type MirroringWitnessStatus
public enum MirroringWitnessStatus

Members

Member name Description
None Value = 0. The database is not mirrored.
Unknown Value = 1. The state of the mirroring witness is unknown.
Connected Value = 2. Mirroring witness is connected.
Disconnected Value = 3. Mirroring witness is disconnected.

Remarks

The MirroringWitnessStatus enumeration method is served by the MirroringWitnessStatus property.