Database.MirroringWitnessStatus 屬性
Gets the status of the mirroring witness server.
命名空間: 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
A MirroringWitnessStatus object value that specifies the status of the mirroring witness server.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間