Server.IsHadrEnabled 属性
Gets a value that indicates whether the Hadr is enabled.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsHadrEnabled As Boolean
Get
用法
Dim instance As Server
Dim value As Boolean
value = instance.IsHadrEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsHadrEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property bool IsHadrEnabled {
bool get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract IsHadrEnabled : bool
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override IsHadrEnabled : bool
final function get IsHadrEnabled () : boolean
属性值
类型:System.Boolean
True if the Hadr is enabled; otherwise, false.
实现
IServerInformation.IsHadrEnabled