DestroyObject

The DestroyObject method destroys the underlying IDL object. If the object being destroyed is the last object within an OPS process, the OPS process is also destroyed.

Note
Trying to re-create an object after it has been destroyed is not supported. You must re-define the variable and then re-create the object.

Syntax

HRESULT DestroyObject(void)

Parameters

None