Data.Win.ADODB.TADOConnection.CommandTimeout
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 | TADOConnection |
Description
Specifies amount of time to attempt execution of a command.
Use CommandTimeout to specify the amount of time, in seconds, that that can expire before an attempt to execute a command is considered unsuccessful. The default value is 30 seconds.
If a command successfully executed prior to the expiration of the seconds specified in CommandTimeout, this property has no effect. If execution of a command has not been successfully completed before the time has elapsed, the command is canceled.