共用方式為


AvailabilityReplicaConnectionState Enum

Definition

The current connection state of an availability replica.

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

Fields

Name Value Description
Disconnected 0

The replica is not currently connected to the primary (could be an indication of a communication issue).

Connected 1

The replica is currently connected to the primary.

Unknown 2

The replica connection state is unknown.

Applies to