Cleanup should clean all temporary files, free used memory, etc...
[Visual Basic .NET]
Public Sub Cleanup ( _
)
[C#] public void Cleanup ( );
[C++]
HRESULT Cleanup(
void
);
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.