AvailabilityReplicaAvailabilityMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |