Share via


Service.IsHadrEnabled Property

Gets whether the High Availability/Disaster Recovery is enabled.

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

Syntax

'Declaration
Public ReadOnly Property IsHadrEnabled As Boolean 
    Get
'Usage
Dim instance As Service 
Dim value As Boolean 

value = instance.IsHadrEnabled
public bool IsHadrEnabled { get; }
public:
property bool IsHadrEnabled {
    bool get ();
}
member IsHadrEnabled : bool
function get IsHadrEnabled () : boolean

Property Value

Type: System.Boolean
True if the HA/DR id enabled; otherwise, false.

See Also

Reference

Service Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace