Npgsql API Documentation |

# NpgsqlConnection.ConnectionTimeout Property

[This is preliminary documentation and subject to change.]

Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.

[Visual Basic]
NotOverridable Public ReadOnly Property ConnectionTimeout As Integer Implements _
IDbConnection.ConnectionTimeout
[C#]
public int ConnectionTimeout {get;}

#### Property Value

The time (in seconds) to wait for a connection to open. The default value is 15 seconds.

#### Implements

IDbConnection.ConnectionTimeout

#### See Also

NpgsqlConnection Class | Npgsql Namespace