IreleaseBusinessObject()

Releases the resources of a business object.

Syntax

void IreleaseBusinessObject(IBusinessObject releaseObject);

Parameters

releaseObject
The business object whose resources are released.

Return Values

None.

Notes

When the access client is finished using a business object, it should the IreleaseBusinessObject() method to free the IBusinessObject object in InterChange Server Express memory.

Example

// Create the business object
IBusinessObj anObject = null;
accessSession.IcreateBusinessObjectWithVerb("AcctsRecCurrent",
     "Retrieve");
// Release the object
accessSession.IreleaseBusinessObject(anObject);

Copyright IBM Corp. 2004, 2005