Condividi tramite


Proprietà IAvailabilityGroupState.IsAutoFailover

Returns true if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayNameKeyAttribute("AvailabilityGroupState_IsAutoFailoverName")> _
<DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsAutoFailoverDesc")> _
ReadOnly Property IsAutoFailover As Boolean 
    Get
'Utilizzo
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

Valore proprietà

Tipo: System.Boolean
True if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover; otherwise, false.

Vedere anche

Riferimento

IAvailabilityGroupState Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Smo