DestroyModel

Description

Destroys the current performance analysis or trace tree model.

Applies to

Profiling and TraceTree objects

Syntax

instancename.DestroyModel ( )

Argument

Description

instancename

Instance name of the Profiling or TraceTree object

Returns

ErrorReturn. Returns one of the following values:

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

Example 1

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

lpro_model.DestroyModel()

DESTROY lpro_model

See also