dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnection Class / ConnectionTimeout Property

In This Topic
ConnectionTimeout Property (PgSqlConnection)
In This Topic
Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Syntax
'Declaration
 
Public Shadows Property ConnectionTimeout As Integer
 

Property Value

The time (in seconds) to wait for a connection to open. The default value is 15 seconds.
Remarks
A value of 0 indicates no limit, and should be avoided in a ConnectionString because an attempt to connect will wait indefinitely. Use connection string to overwrite this value.
See Also