<< Click to Display Table of Contents >>
Closes an open connection and any dependent objects
METHOD Close () AS VOID PASCAL CLASS AdoConnection
Some OleDb providers use a kind of Connection Caching mechanism that keeps the connection open even when you call Close(). This is done to speed up a possible re-opening of the connection. If that is the case, you can usually force the provider to really close the connection by calling the AdoConnection:Destroy() method.
Please remember that calling Destroy() kills the underlying COM object and accessing the Connection object after you destroyed it may lead to runtime errors.
AdoConnection, AdoConnection:Open(), AdoConnection:Destroy()