UnregisterObject
PowerScript function
Description
Unregisters the PowerBuilder object.
Applies to
Syntax
|
1 |
Integer UnregisterObject(readonly string objectname) |
|
Argument |
Description |
|---|---|
|
objectname |
The name of the object that has been registered. The name |
Return value
Integer.
Returns values as follows. If any argument’s value is null, the
method returns null.
1 — Success
-1 — Unknown error.
-5 — DotNetObject is not instantiated.
-52 — The objectname is not registered.
Examples
This statement unregisters the object w_dotnettest and returns an
error if unregistration failed.
|
1 2 3 4 |
ll_return = lcs_object.UnRegisterObject ("w_dotnettest", w_dotnettest) if ll_return <> 1 then MessageBox("Error", "UnRegisterObject w_dotnettest failed") end if |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest