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