EPUB | CHM | PDF

TPSQLDatabase.Properties.CommandTimeout

Top Previous Next

Specifies amount of time to attempt a statement execution.

Syntax:

property CommandTimeout: cardinal;

Description:

Aborts any statement that takes over the specified number of milliseconds. A value of zero (the default) turns off the limitation.

If a statement is successfully executed prior to the expiration of the seconds specified, CommandTimeout has no effect. If the specified time expires and a statement has not been successfully executed, the attempt is terminated and an exception is raised.