Share via


AvailabilityReplicaAvailabilityMode Enum

Definition

Availability modes of Availability Replica The int value has to match the values defined by the engine, can be found here: https://docs.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-availability-replicas-transact-sql

[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.AvailabilityReplicaAvailabilityModeConverter))]
public enum AvailabilityReplicaAvailabilityMode
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.AvailabilityReplicaAvailabilityModeConverter))>]
type AvailabilityReplicaAvailabilityMode = 
Public Enum AvailabilityReplicaAvailabilityMode
Inheritance
AvailabilityReplicaAvailabilityMode
Attributes

Fields

Name Value Description
AsynchronousCommit 0

The availability mode is ASynchronous Commit

SynchronousCommit 1

The availability mode is Synchronous Commit

Unknown 2

The availability mode is unknown. The replica may not be able to communicate with the cluster or quorum may not be set across the Windows Server Failover Cluster.

ConfigurationOnly 4

The availability mode is Configuration Only

Applies to