Freigeben über


Information.IsHadrEnabled-Eigenschaft

Gets a value that indicates whether the Hadr is enabled.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsHadrEnabled As Boolean 
    Get
'Usage
Dim instance As Information 
Dim value As Boolean 

value = instance.IsHadrEnabled
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public bool IsHadrEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property bool IsHadrEnabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member IsHadrEnabled : bool
function get IsHadrEnabled () : boolean

Eigenschaftswert

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

Siehe auch

Verweis

Information Klasse

Microsoft.SqlServer.Management.Smo-Namespace