共用方式為


AvailabilityReplicaOperationalState 列舉

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration AvailabilityReplicaOperationalState
'用途
Dim instance As AvailabilityReplicaOperationalState
public enum AvailabilityReplicaOperationalState
public enum class AvailabilityReplicaOperationalState
type AvailabilityReplicaOperationalState
public enum AvailabilityReplicaOperationalState

成員

成員名稱 說明
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.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間