共用方式為


Information.IsHadrEnabled 屬性

Gets a value that indicates whether the Hadr is enabled.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsHadrEnabled As Boolean 
    Get
'用途
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

屬性值

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

請參閱

參考

Information 類別

Microsoft.SqlServer.Management.Smo 命名空間