<ADODB_Connection>.CommandTimeOut

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > ADODB > ADODB Module Classes > ADODB_Connection > ADODB_Connection Properties >

<ADODB_Connection>.CommandTimeOut

 

Description

 
Get or Set the number of seconds to wait while attempting to execute a command, before canceling the attempt and generate an error.

 

Syntax

 

GET

n = <ADODB_Connection>.CommandTimeOut

 

SET

<ADODB_Connection>.CommandTimeOut = nSeconds

 

Returns

 

Number: Number of seconds.

 

Parameters

 

Name

Type

Optional

Meaning

nSeconds

Number

Yes

the number of seconds to wait while attempting to execute a command.

Default is 30.

 

Remarks

 

Restrictions

 

See also

 

Examples