Delete method: Tree Structure class

Syntax

Delete(StructId)

Description

The Delete method deletes the tree structure specified by StructId from the database. The Delete method can be used only with a tree structure identifier, it cannot be used on a fully instantiated, open tree structure. Before you use the Delete method, you must explicitly close any open tree structure objects (with the Close method.) You receive an error if there are any open tree structures.

The tree structure specified by StructId does not have to match the tree structure identifier executing the method.

Returns

A number: 0 if the method completed successfully.