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 命名空间