TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

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 AvailabilityGroupFailureConditionLevel

Member nameDescription
OnAnyQualifiedFailureCondition

Automatic failover is triggered when any condition level of lower value is satisfied or when a qualifying failure condition occurs.

OnCriticalServerErrors

Automatic 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.

OnModerateServerErrors

Automatic failover is triggered when any condition level of lower value is satisfied or when a moderate server error occurs.

OnServerDown

Automatic failover is triggered when the SQL Server service is down.

OnServerUnresponsive

Automatic failover is triggered when SQL Server is down or unresponsive, or when the Availability Group’s primary replica is in a failed state.

Unknown

The condition level is unknown.

Return to top
Show:
© 2016 Microsoft