skip to main content
Using the ADO.NET Client : Specifying Connection Options : Connection Timeout
 

Connection Timeout

Property

ConnectionTimeout

Description

Specifies the number of seconds after which the attempted connection to the database server will fail if not yet connected. If connection failover is enabled, this option applies to each connection attempt. A value of 0 means that the data provider will never timeout on a connection attempt.

Valid Values

0 to x
where x is a positive integer from 1 to 2147483647.

Default

30