PgDAC

TPgConnection.BreakExec Method

Used to cancel a query that is currently being executed on the connection.

Class

TPgConnection

Syntax

procedure BreakExec;

Remarks

Call the BreakExec method to cancel a query that is currently being executed on the connection. If you call the Execute method of TPgQuery, it will not return until the query is executed. So you need to call the BreakExec method from another thread to cancel the query.

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