Partager via


Propriété Service.IsHadrEnabled

Gets whether the High Availability/Disaster Recovery is enabled.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public ReadOnly Property IsHadrEnabled As Boolean 
    Get
'Utilisation
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

Valeur de propriété

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

Voir aussi

Référence

Service Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Wmi