SDAC

TCustomDAConnection.OnConnectionLost Event

This event occurs when connection was lost.

Class

TCustomDAConnection

Syntax

property OnConnectionLost: TConnectionLostEvent;

Remarks

Write the OnConnectionLost event handler to process fatal errors and perform failover.

Note: To use the OnConnectionLost event handler, you should explicitly add the MemData unit to the 'uses' list and set the TCustomDAConnection.Options.LocalFailover property to True.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback