Поделиться через


Перечисление AvailabilityGroupFailureConditionLevel

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SqlEnum (в Microsoft.SqlServer.SqlEnum.dll)

Синтаксис

'Декларация
Public Enumeration AvailabilityGroupFailureConditionLevel
'Применение
Dim instance As AvailabilityGroupFailureConditionLevel
public enum AvailabilityGroupFailureConditionLevel
public enum class AvailabilityGroupFailureConditionLevel
type AvailabilityGroupFailureConditionLevel
public enum AvailabilityGroupFailureConditionLevel

Элементы

Имя элемента Описание
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.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo