AvailabilityReplicaConnectionModeInSecondaryRole AvailabilityReplicaConnectionModeInSecondaryRole AvailabilityReplicaConnectionModeInSecondaryRole Enum

Definition

Specifies the connection modes of an Availability Replica in secondary role.

public enum class AvailabilityReplicaConnectionModeInSecondaryRole
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.AvailabilityReplicaConnectionModeInSecondaryRoleConverter))]
public enum AvailabilityReplicaConnectionModeInSecondaryRole
Public Enum AvailabilityReplicaConnectionModeInSecondaryRole
Inheritance
AvailabilityReplicaConnectionModeInSecondaryRoleAvailabilityReplicaConnectionModeInSecondaryRoleAvailabilityReplicaConnectionModeInSecondaryRole
Attributes

Fields

AllowAllConnections AllowAllConnections AllowAllConnections 2

The availability replica in secondary role will allow all connections.

AllowNoConnections AllowNoConnections AllowNoConnections 0

The availability replica in secondary role will not allow any connections.

AllowReadIntentConnectionsOnly AllowReadIntentConnectionsOnly AllowReadIntentConnectionsOnly 1

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

Unknown Unknown Unknown 3

The connection in the availability replica is unknown.

Applies to