Enum TargetServerType
Specifies connection server.
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
public enum TargetServerType : int
Fields
Name | Description |
---|---|
any | Try to connect every server in order. |
master | Master server is selected for the connection. |
preferSlave | Slave server is selected preferentially for the connection. |
slave | Slave server is selected for the connection. |