Condividi tramite


AvailabilityReplicaConnectionModeInSecondaryRole Enum

Definition

Connection intent modes of an Availability Replica in secondary role

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

Fields

Name Value Description
AllowNoConnections 0

The availability replica in secondary role will not allow any connections

AllowReadIntentConnectionsOnly 1

The availability replica in secondary role will allow only read-intent connections

AllowAllConnections 2

The availability replica in secondary role will allow all connections. This is for client connections unaware of the availability replica participation in an availability group.

Unknown 3

The availability replica in the secondary 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