Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 1 (10.1) Part Number B10119-01 |
|
Applies To
Description
ODynaset destructor
Usage
~ODynaset(void)
Remarks
This method destroys the ODynaset and frees its resources. The underlying implementation dynaset will be freed if this is the last object that is referring to it.
When the ODynaset is destroyed, any strings that the ODynaset owns (such as the SQL statement) are also destroyed..
If a dynaset has advisories on it, destroying the ODynaset - even if it is the only ODynaset that referred to that dynaset - will not destroy the dynaset, because the advisories also refer to the dynaset. The dynaset is destroyed only when all the objects that refer to the dynaset are destroyed.