Partilhar via


AvailabilityReplicaConnectionModeInPrimaryRole Enum

Definition

Connection intent modes of an Availability Replica in primary role

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

Fields

Name Value Description
AllowAllConnections 2

The availability replica in primary role will allow all connections

AllowReadWriteConnections 3

The availability replica in primary role will allow read/write connections

Unknown 4

The availability replica in the primary role 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.

Applies to