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)
Syntax
'Declaration
Public Enumeration AvailabilityGroupFailureConditionLevel
'Usage
Dim instance As AvailabilityGroupFailureConditionLevel
public enum AvailabilityGroupFailureConditionLevel
public enum class AvailabilityGroupFailureConditionLevel
type AvailabilityGroupFailureConditionLevel
public enum AvailabilityGroupFailureConditionLevel
Elemente
Elementname | Beschreibung | |
---|---|---|
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. |