共用方式為


AvailabilityReplicaConnectionModeInSecondaryRole 列舉

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

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

語法

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

成員

成員名稱 說明
AllowAllConnections The availability replica in secondary role will allow all connections.
AllowNoConnections The availability replica in secondary role will not allow any connections.
AllowReadIntentConnectionsOnly The availability replica in secondary role will allow only read-intent connections.
Unknown The connection in the availability replica is unknown.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間