Freigeben über


Service.IsHadrEnabled-Eigenschaft

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

Eigenschaftswert

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

Siehe auch

Verweis

Service Klasse

Microsoft.SqlServer.Management.Smo.Wmi-Namespace