共用方式為


MirroringWitnessStatus 屬性

取得鏡像見證伺服器的狀態。

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

語法

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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .MirroringWitnessStatus
MirroringWitnessStatus 物件值,這個值會指定鏡像見證伺服器的狀態。