IAvailabilityGroupState.IsAutoFailover 属性
Returns true if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayNameKeyAttribute("AvailabilityGroupState_IsAutoFailoverName")> _
<DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsAutoFailoverDesc")> _
ReadOnly Property IsAutoFailover As Boolean
Get
用法
Dim instance As IAvailabilityGroupState
Dim value As Boolean
value = instance.IsAutoFailover
[DisplayNameKeyAttribute("AvailabilityGroupState_IsAutoFailoverName")]
[DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsAutoFailoverDesc")]
bool IsAutoFailover { get; }
[DisplayNameKeyAttribute(L"AvailabilityGroupState_IsAutoFailoverName")]
[DisplayDescriptionKeyAttribute(L"AvailabilityGroupState_IsAutoFailoverDesc")]
property bool IsAutoFailover {
bool get ();
}
[<DisplayNameKeyAttribute("AvailabilityGroupState_IsAutoFailoverName")>]
[<DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsAutoFailoverDesc")>]
abstract IsAutoFailover : bool
function get IsAutoFailover () : boolean
属性值
类型:System.Boolean
True if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover; otherwise, false.