مشاركة عبر


IServerInformation.IsHadrEnabled Property

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

Property Value

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

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace