Поделиться через


Свойство IServerInformation.IsHadrEnabled

Gets a value that indicates whether the Hadr is enabled.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayNameKeyAttribute("Server_IsHadrEnabledName")> _
<DisplayDescriptionKeyAttribute("Server_IsHadrEnabledDesc")> _
ReadOnly Property IsHadrEnabled As Boolean 
    Get
'Применение
Dim instance As IServerInformation 
Dim value As Boolean 

value = instance.IsHadrEnabled
[DisplayNameKeyAttribute("Server_IsHadrEnabledName")]
[DisplayDescriptionKeyAttribute("Server_IsHadrEnabledDesc")]
bool IsHadrEnabled { get; }
[DisplayNameKeyAttribute(L"Server_IsHadrEnabledName")]
[DisplayDescriptionKeyAttribute(L"Server_IsHadrEnabledDesc")]
property bool IsHadrEnabled {
    bool get ();
}
[<DisplayNameKeyAttribute("Server_IsHadrEnabledName")>]
[<DisplayDescriptionKeyAttribute("Server_IsHadrEnabledDesc")>]
abstract IsHadrEnabled : bool
function get IsHadrEnabled () : boolean

Значение свойства

Тип: System.Boolean
True if the Hadr is enabled; otherwise, false.

См. также

Справочник

IServerInformation Интерфейс

Пространство имен Microsoft.SqlServer.Management.Smo