DestroyModel PowerScript function
Description
Destroys the current performance analysis or trace tree model.
Controls
Profiling and TraceTree objects
Syntax
|
1 |
<span><span>instancename</span>.DestroyModel</span> ( ) |
|
Argument |
Description |
|---|---|
|
instancename |
Instance name of the Profiling or TraceTree |
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:
|
1 |
lpro_model.<span>DestroyModel</span>() |
|
1 |
DESTROY lpro_model |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest