Proprietà Service.IsHadrEnabled
Gets whether the High Availability/Disaster Recovery is enabled.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public ReadOnly Property IsHadrEnabled As Boolean
Get
'Utilizzo
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
Valore proprietà
Tipo: System.Boolean
True if the HA/DR id enabled; otherwise, false.