Unregisters a user object that was previously registered.
SharedObjectUnregister ( instancename )
Argument |
Description |
---|---|
instancename |
The name assigned to the shared object instance when it was first registered |
ErrorReturn. Returns one of the following values:
Success! – The function succeeded
SharedObjectNotExistsError! – The instance name has not been registered
This function marks a shared object for destruction. But the object is not actually destroyed until there are no more references to the object.
You can use a shared object on a PowerBuilder client to simulate an asynchronous call to EAServer. For more information, see the description of the SharedObjectGet function.
In this example the application unregisters the object instance called share1:
SharedObjectUnregister("share1")