A script-enabled browser is required for this page to function properly.

OLE2.Release_Obj

Description

Signals an OLE2 Automation Object that the PL/SQL client no longer needs it.

Syntax


PROCEDURE OLE2.Release_Obj
   (object   obj_type);

Parameters

object An OLE2 Automation Object.

Usage Notes

This allows the operating system to deallocate any resources related to the object. You must release each OLE2 Automation Object you create or invoke using the OLE2 Package.

Example


 /* 
**Release the OLE2 object objap.
*/
declare
  objap   OLE2.Obj_Type;
begin
  objap:=OLE2.Create_Obj('Excel.application.5');
  OLE2.Release_Obj(objap);
end;