The properties of the NpgsqlConnection class are listed below. For a complete list of NpgsqlConnection class members, see the NpgsqlConnection Members topic.
BackendProtocolVersion
|
Protocol version in use. This can only be called when there is an active connection. |
ConnectionLifeTime
|
Gets the time to wait before closing unused connections in the pool if the count of all connections exeeds MinPoolSize. |
ConnectionString
|
Gets or sets the string used to connect to a PostgreSQL database. Valid values are:
|
ConnectionTimeout
|
Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. |
Container (inherited from Component) |
|
Database
|
Gets the name of the current database or the database to be used after a connection is opened. |
Host
|
Backend server host name. |
Port
|
Backend server port. |
ServerVersion
|
Version of the PostgreSQL backend. This can only be called when there is an active connection. |
Site (inherited from Component) |
|
SSL
|
If true, the connection will attempt to use SSL. |
State
|
Gets the current state of the connection. |
SyncNotification
|
Gets flag indicating if we are using Synchronous notification or not. The default value is false. |
DesignMode (inherited from Component) |
|
Events (inherited from Component) |
NpgsqlConnection Class | Npgsql Namespace