AvailabilityReplicaConnectionModeInSecondaryRole 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.
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
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. |
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 |
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. |