Command Time Out Property

ADO and SQL Server

ADO and SQL Server

Command Time Out Property

The Command Time Out property specifies the number of seconds before a command times out.

Applies To
Recordset Object
Syntax

object.Properties("Command Time Out") [= value]

Parts

object

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

value

Integer that specifies the number of seconds before a command times out.

Data Type

adInteger

Modifiable

Read/write

OLE DB Property

DBPROP_COMMANDTIMEOUT

Remarks

The Command Time Out property applies to any commands sent to the database. A value of zero indicates an infinite time-out.