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.