Performs a disconnect for the specified connection object and destroys the specified connection object.
function ibesConnectionFinalize(AConnection : THandle) : integer;
The return value is 0 (zero).
All IBEScript.dll interface & callback functions provide ABlockName argument which contains the name of the block if execution of that block was initiated as below:
EXECUTE IBEBLOCK MYBLOCK ...
If block name is missing ABlockName parameter will contain an empty string.