Share via


Server.IsHadrEnabled Property

Gets a value that indicates whether the Hadr is enabled.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsHadrEnabled As Boolean 
    Get
'Usage
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

Property Value

Type: System.Boolean
True if the Hadr is enabled; otherwise, false.

Implements

IServerInformation.IsHadrEnabled

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace