SharedObjectUnregister

Description

Unregisters a user object that was previously registered.

Syntax

SharedObjectUnregister ( instancename )

Argument

Description

instancename

The name assigned to the shared object instance when it was first registered

Returns

ErrorReturn. Returns one of the following values:

Usage

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.

Examples

Example 1

In this example the application unregisters the object instance called share1:

SharedObjectUnregister("share1")

See also

SharedObjectRegister