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.