Routines (alphabetical) > Object Classes > Miscellaneous Object Classes > IDLdbDatabase::Cleanup

# IDLdbDatabase::Cleanup

The IDLdbDatabase::Cleanup procedure method performs all cleanup on the object.

Note: Cleanup methods are special lifecycle methods, and as such cannot be called outside the context of object creation and destruction. This means that in most cases, you cannot call the Cleanup method directly. There is one exception to this rule: if you write your own subclass of this class, you can call the Cleanup method from within the Init or Cleanup method of the subclass.

## Syntax

OBJ_DESTROY, Obj

or

Obj->[IDLdbDatabase::]Cleanup (In a lifecycle method only.)

## Arguments

None

## Keywords

None

## Version History

5.0 | Introduced