CommandTimeout

Description

Specifies the number of seconds the interface should wait for a command to execute.

NoteWhen to specify CommandTimeout You must specify a value for CommandTimeout before connecting to the database.

Applies to

Syntax

CommandTimeout=value

Parameter

Description

value

The number of seconds the interface waits for a command to execute.

Default

None

Usage

The default value for the CommandTimeout parameter is driver-specific.

When you use this parameter with an AdoTransaction object in DataWindow .NET, specify a value for this parameter in the second argument of the AdoTransaction constructor.

Examples

Example 1

To set the CommandTimeout value to wait 60 seconds for a command to execute: