Npgsql Api Docs |

# NpgsqlConnection.ConnectionTimeout Property

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

[Visual Basic]
Overrides Public ReadOnly Property ConnectionTimeout As Integer _
Implements IDbConnection.ConnectionTimeout
[C#]
public override 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