dotConnect for PostgreSQL Documentation
ConnectionTimeout Property
See Also  support@devart.com
Devart.Data.PostgreSql Namespace > PgSqlConnectionStringBuilder Class : ConnectionTimeout Property

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

Syntax

Visual Basic (Declaration) 
Public Property ConnectionTimeout As Integer
C# 
public int ConnectionTimeout {get; set;}

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, because an attempt to connect will wait indefinitely.

Requirements

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also