Partager via


Propriété Server.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
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsHadrEnabled As Boolean 
    Get
'Utilisation
Dim instance As Server 
Dim value As Boolean 

value = instance.IsHadrEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsHadrEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property bool IsHadrEnabled {
    bool get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract IsHadrEnabled : bool
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override IsHadrEnabled : bool
final function get IsHadrEnabled () : boolean

Valeur de propriété

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

Implémente

IServerInformation.IsHadrEnabled

Voir aussi

Référence

Server Classe

Espace de noms Microsoft.SqlServer.Management.Smo