Timeout

Description

Specifies the number of seconds the interface should wait for a connection to the data provider to complete.

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

Applies to

Syntax

TimeOut = value

Parameter

Description

value

The number of seconds the interface waits for a connection to complete.

Default

None

Usage

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

When you use this parameter with an AdoTransaction object in DataWindow .NET, set this parameter in the ConnectString parameter of the Connection object. For more information, see “Specifying parameters for ADO.NET and AdoTransaction”.

Examples

Example 1

To set the TimeOut value to wait 10 seconds for a connection to complete: