EPUB | CHM | PDF

TMySQLDatabase.Events.OnConnectionFailure

Top Previous Next

Occurs on a database connection error.

Syntax:

type TConnectionFailureEvent = procedure(Connection : TMySQLDatabase;
                                              Error : String) of Object;
property OnConnectionFailure : TConnectionFailureEvent;

Description:

Write an ConnectionFailure event handler to take specific actions when a database connection error occurs.