Partilhar via


Enumeração AvailabilityGroupFailureConditionLevel

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

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

Sintaxe

'Declaração
Public Enumeration AvailabilityGroupFailureConditionLevel
'Uso
Dim instance As AvailabilityGroupFailureConditionLevel
public enum AvailabilityGroupFailureConditionLevel
public enum class AvailabilityGroupFailureConditionLevel
type AvailabilityGroupFailureConditionLevel
public enum AvailabilityGroupFailureConditionLevel

Membros

Nome do membro Descrição
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.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Smo