PgDAC

TCustomDAConnection.OnConnectionLost

This event occurs when connection was lost.

Unit

Syntax

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-2026 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback