Data.Win.ADODB.TADOConnection.CommandTimeout
[–] Properties | |
---|---|
Type: property | |
Visibility: published | |
Source: Data.Win.ADODB.pas Data.Win.ADODB.hpp
| |
Unit: Data.Win.ADODB | |
Parent: TADOConnection |
Delphi
property CommandTimeout: Integer read GetCommandTimeout write SetCommandTimeout default 30;
C++
__property int CommandTimeout = {read=GetCommandTimeout, write=SetCommandTimeout, default=30};
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.