Service.IsHadrEnabled 属性

Gets whether the High Availability/Disaster Recovery is enabled.

命名空间:  Microsoft.SqlServer.Management.Smo.Wmi
程序集:  Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

语法

声明
Public ReadOnly Property IsHadrEnabled As Boolean 
    Get
用法
Dim instance As Service 
Dim value As Boolean 

value = instance.IsHadrEnabled
public bool IsHadrEnabled { get; }
public:
property bool IsHadrEnabled {
    bool get ();
}
member IsHadrEnabled : bool
function get IsHadrEnabled () : boolean

属性值

类型:System.Boolean
True if the HA/DR id enabled; otherwise, false.

请参阅

参考

Service 类

Microsoft.SqlServer.Management.Smo.Wmi 命名空间