Data.Win.ADODB.TADOCommand.CommandTimeout

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TADOCommand

Delphi

property CommandTimeout: Integer read GetCommandTimeOut write SetCommandTimeOut default 30;

C++

__property int CommandTimeout = {read=GetCommandTimeOut, write=SetCommandTimeOut, default=30};

Description

Specifies the amount of time to attempt execution of the command.

Use CommandTimeout to indicate the time, in seconds, that can elapse before an attempt to execute the command is considered unsuccessful. The default value for CommandTimeout is 30.

If a command is successfully executed prior to the expiration of the seconds specified, CommandTimeout has no effect.

See Also