RAD Studio VCL Reference
TADOConnection.CommandTimeout Property

Specifies amount of time to attempt execution of a command.

property CommandTimeout: Integer;
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!