Partilhar via


AvailabilityGroupState.IsAutoFailover Property

Definition

Gets a value indicating whether the failover mode of the availability group is is Automatic Failover. Accessing this property may result in an exception, so we initialize it seperately. Specifically, if the primary replica is not currently visible, we throw an exception indicating this. This only occurs when accessing this property from a secondary replica that cannot communicate with the cluster store.

public bool IsAutoFailover { get; }
member this.IsAutoFailover : bool
Public ReadOnly Property IsAutoFailover As Boolean

Property Value

Implements

Applies to