Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AvailabilityGroupFailureConditionLevel Enumeration

Specifies the different conditions that can trigger an automatic failover in Availability Group.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public enum class AvailabilityGroupFailureConditionLevel

Member nameDescription
OnAnyQualifiedFailureConditionAutomatic failover is triggered when any condition level of lower value is satisfied or when a qualifying failure condition occurs.
OnCriticalServerErrorsAutomatic failover is triggered when any condition level of lower value is satisfied or when a critical server error occurs. If no setting for an Availability Group is specified, this is the default value.
OnModerateServerErrorsAutomatic failover is triggered when any condition level of lower value is satisfied or when a moderate server error occurs.
OnServerDownAutomatic failover is triggered when the SQL Server service is down.
OnServerUnresponsiveAutomatic failover is triggered when SQL Server is down or unresponsive, or when the Availability Group’s primary replica is in a failed state.
UnknownThe condition level is unknown.

Community Additions

Show:
© 2015 Microsoft