The properties of the NpgsqlConnection class are listed below. For a complete list of NpgsqlConnection class members, see the NpgsqlConnection Members topic.
![]() | Protocol version in use. This can only be called when there is an active connection. |
![]() | Gets the time to wait while trying to execute a command before terminating the attempt and generating an error. |
![]() | Gets the time to wait before closing unused connections in the pool if the count of all connections exeeds MinPoolSize. |
![]() | Gets or sets the string used to connect to a PostgreSQL database. Valid values are:
|
![]() | Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. |
![]() | |
![]() | Gets the name of the current database or the database to be used after a connection is opened. |
![]() | Gets the database server name. |
![]() | Gets the current state of the connection. |
![]() | Backend server host name. |
![]() | |
![]() | Backend server port. |
![]() | Version of the PostgreSQL backend. This can only be called when there is an active connection. |
![]() | Whether datareaders are loaded in their entirety (for compatibility with earlier code). |
![]() | Process id of backend server. This can only be called when there is an active connection. |
![]() | |
![]() | |
![]() | If true, the connection will attempt to use SSL. |
![]() | Gets whether the current state of the connection is Open or Closed |
![]() | Gets flag indicating if we are using Synchronous notification or not. The default value is false. |
![]() |
NpgsqlConnection Class | Npgsql Namespace