Свойство Service.IsHadrEnabled
Gets whether the High Availability/Disaster Recovery is enabled.
Пространство имен: Microsoft.SqlServer.Management.Smo.Wmi
Сборка: Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)
Синтаксис
'Декларация
Public ReadOnly Property IsHadrEnabled As Boolean
Get
'Применение
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
Значение свойства
Тип: System.Boolean
True if the HA/DR id enabled; otherwise, false.