DAC for MySQL
TmySQLDatabase.Events.OnConnectionFailure | 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.