Data.Win.ADODB.TADOCommand.CommandTimeout

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CommandTimeout: Integer read GetCommandTimeOut write SetCommandTimeOut default 30;

C++

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

Properties

Type Visibility Source Unit Parent
property published
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TADOCommand

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