Condividi tramite


Proprietà MirroringWitnessStatus

Ottiene lo stato del server di controllo del mirroring.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringWitnessStatus As MirroringWitnessStatus
    Get
'Utilizzo
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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .MirroringWitnessStatus
Valore dell'oggetto MirroringWitnessStatus che specifica lo stato del server di controllo del mirroring.