共用方式為


AvailabilityReplicaConnectionModeInPrimaryRole 列舉

Specifies the connection intent modes of an Availability Replica in primary role.

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

語法

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

成員

成員名稱 說明
AllowAllConnections The availability replica in primary role will allow all connections.
AllowReadWriteConnections The availability replica in primary role will allow read/write connections.
Unknown The connection is unknown.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間