Open topic with navigation
Public Sub ReleaseConnection()
After releasing the connection, the Connected Property is False.
For a table of properties affected by the state of the connection, see the Remarks for the TDConnection object.
On some platforms and security configurations, ReleaseConnection can cause exceptions. We recommend that you catch exceptions thrown by the ReleaseConnection call to prevent the application halting. The exception handler can be empty. Failure of ReleaseConnection may result in unused objects in memory not being freed.