Propriété IServerInformation.IsHadrEnabled

Gets a value that indicates whether the Hadr is enabled.

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

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Server_IsHadrEnabledName")> _
<DisplayDescriptionKeyAttribute("Server_IsHadrEnabledDesc")> _
ReadOnly Property IsHadrEnabled As Boolean 
    Get
'Utilisation
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

Valeur de propriété

Type : System.Boolean
True if the Hadr is enabled; otherwise, false.

Voir aussi

Référence

IServerInformation Interface

Espace de noms Microsoft.SqlServer.Management.Smo