AvailabilityReplicaOperationalState Enumeration

 

Specifies the state of the replica's readiness to process client requests for all databases replicas in the availability group residing on it.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

type AvailabilityReplicaOperationalState

Member nameDescription
Failed

The replica is unable to communicate with the Windows cluster, the replica cannot receive client requests.

FailedNoQuorum

The availability group has lost quorum, the replica cannot receive client requests.

Offline

The availability group currently has no primary, the replica cannot receive client requests.

Online

The replica is ready to client requests.

Pending

The replica is pending a switch to primary role. This is a transient state.

PendingFailover

A failover command is in progress, the replica cannot receive client requests.

Unknown

The operational state of this replica is unknown, the availability replica object referes to a remote instance.

Return to top
Show: