共用方式為


MirroringWitnessStatus 屬性

Gets the status of the mirroring witness server.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property MirroringWitnessStatus As MirroringWitnessStatus
    Get
'用途
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

屬性值

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