EPUB | CHM | PDF

TPSQLDatabase.Properties.ConnectionTimeout

Top Previous Next

Specifies amount of time to attempt a connection.

Syntax:

property ConnectionTimeout: cardinal;

Description:

Use ConnectionTimeout to specify the amount of time in seconds that can expire before an attempt to make a connection is considered unsuccessful. The default value is 15 seconds.

If a connection is successfully made prior to the expiration of the seconds specified, then ConnectionTimeout has no effect. If the specified time expires and a connection has not been successfully made, the attempt is terminated and an exception is raised.