Share via


Database.MirroringWitnessStatus Property

Gets the status of the mirroring witness server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringWitnessStatus As MirroringWitnessStatus
    Get
'Usage
Dim instance As Database
Dim value As MirroringWitnessStatus

value = instance.MirroringWitnessStatus
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public MirroringWitnessStatus MirroringWitnessStatus { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property MirroringWitnessStatus MirroringWitnessStatus {
    MirroringWitnessStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MirroringWitnessStatus : MirroringWitnessStatus
function get MirroringWitnessStatus () : MirroringWitnessStatus

Property Value

Type: Microsoft.SqlServer.Management.Smo.MirroringWitnessStatus
A MirroringWitnessStatus object value that specifies the status of the mirroring witness server.