SharedObjectUnregister PowerScript function
Description
Unregisters a user object that was previously registered.
Syntax
|
1 |
<span>SharedObjectUnregister</span> ( <span>instancename</span> ) |
|
Argument |
Description |
|---|---|
|
instancename |
The name assigned to the shared object |
Return Values
ErrorReturn. Returns one of the following values:
-
Success! – The function
succeeded -
SharedObjectNotExistsError! – The instance
name has not been registered
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
In this example the application unregisters the object
instance called share1:
|
1 |
<span>SharedObjectUnregister</span>("share1") |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest