Connect Timeout Property

ADO and SQL Server

ADO and SQL Server

Connect Timeout Property

The Connect Timeout property specifies the amount of time in seconds to wait for connection initialization to complete.

Applies To
Connection Object
Syntax

object.Properties("Connect Timeout") [= value]

Parts

object

Expression that evaluates to an object in the Applies To list.

value

Integer that specifies the number of seconds to wait for connection initialization to complete.

Data Type

adInteger

Modifiable

Read/write

OLE DB Property

DBPROP_INIT_TIMEOUT