RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOConnection.CommandTimeout Property

Specifies amount of time to attempt execution of a command.

Pascal
property CommandTimeout: Integer;
C++
__property int CommandTimeout;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!