This event occurs when connection was lost.
property OnConnectionLost: TConnectionLostEvent;
Write the OnConnectionLost event handler to process fatal errors and perform failover.
Note: you should explicitly add the MemData unit to the 'uses' list to use the OnConnectionLost event handler.