Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) B14308-01 |
|
Applies To
Description
ODatabase destructor
Usage
~ODatabase(void)
Remarks
This method destroys the ODatabase and frees its resources. The underlying implementation database will be freed if this is the last object that is referring to it.
When the ODatabase is destroyed, any strings that the ODatabase owns (such as database name and connection strings) are also freed.
Destroying the ODatabase object takes care of logging off from the database.