Partager via


MirroringWitnessStatus propriété

Gets the status of the mirroring witness server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property MirroringWitnessStatus As MirroringWitnessStatus
    Get
'Utilisation
Dim instance As Database
Dim value As MirroringWitnessStatus

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

Valeur de la propriété

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