Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

DestroyModel – PB Docs 150 – PowerBuilder Library

DestroyModel – PB Docs 150

DestroyModel PowerScript function

Description

Destroys the current performance analysis or trace tree model.

Controls

Profiling and TraceTree objects

Syntax

Argument

Description

instancename

Instance name of the Profiling or TraceTree
object

Return Values

ErrorReturn. Returns one of the following values:

  • Success! – The function
    succeeded

  • ModelNotExistsError! – The function failed
    because no model exists

Usage

When you are finished with the performance analysis or trace
tree model you created using the BuildModel function,
you must call DestroyModel to destroy the model
as well as all the objects associated with that model. The memory allocated
to a model will not be released until the object is destroyed.

Examples

This example destroys the performance analysis model
previously created using the BuildModel function:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x