Data.Win.ADODB.TCustomADODataSet.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 protected
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

Description

Specifies amount of time to attempt execution of a command.

Use CommandTimeout to specify the amount of time that expires before an attempt to execute a command is considered unsuccessful. Measured in seconds, 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