OEM User's Guide

OEM External Specification
OEM User’s Guide520330-001
A-44
Adapter Request API (OEM to Adapter)
Object.Clear
Use the Object.Clear method to remove all objects from the EM framework. This is
particularly useful when the OEM Gateway and its clients are shutting down and objects
must be removed from the framework.
Parameters
None
Return Value
0 if the request was accepted by the adapter
Non-zero if the adapter cannot service the request
Considerations
The adapter should remove only objects added by the OEM and its clients. Objects
added through other mechanisms should remain within the framework.
Example
Dim Adapter As New EMAdapterClass
Dim RC As Integer
RC = Adapter.Object.Clear
Function Object.Clear() As Integer