EPUB | CHM | PDF

TMySQLDatabase.Properties.ConnectionTimeout

Top Previous Next

Specifies the time interval to awaiting for connection is established.

Syntax:

property ConnectionTimeout: cardinal;

Description:

Use ConnectionTimeout to specify the time interval in seconds before an attempt to make a connection is considered unsuccessful. The default value is 30 seconds.

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

See also: Connect and ConnectWithConnectionOptionsDialog methods, OnConnectionFailure event