<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > ADODB > ADODB Module Classes > ADODB_Connection > ADODB_Connection Properties > <ADODB_Connection>.ConnectionTimeOut |
Description
Get or Set the number of seconds to wait for a connection to open, before canceling the attempt and generate an error.
Syntax
GET
n = <ADODB_Connection>.ConnectionTimeOut
SET
<ADODB_Connection>.ConnectionTimeOut = nSeconds
Returns
Number: Number of seconds.
Parameters
Name |
Type |
Optional |
Meaning |
nSeconds |
Number |
Yes |
the number of seconds to wait for a connection to open. Default is 15. |
Remarks
Set ConnectionTimeOut before opening connection.
Restrictions
See also
Examples