BeforeDisconnect

<< Click to Display Table of Contents >>

Navigation:  The Vo2Ado RDD > CallBacks > Connection CallBack Methods >

BeforeDisconnect

Previous pageReturn to chapter overviewNext page

METHOD BeforeDisconnect(sConn, oConn) CLASS <CALLBACK>

 

Arguments

 

sConnConnection Name
oConnThe connection object (not open yet)

 

Returns

Irrelevant

 

Description

 

With this callback you have the chance to Cleanup connection related things before the connection is closed

 

Example

 

METHOD BeforeDisconnect (sConn, oConn) CLASS MyConnectionCallBack

   // Clean up global reference to connection

   goConn := NULL_OBJECT

   RETURN NIL