Open method: Tree Structure class
Syntax
Open(StructId, Update)
Description
The Open method opens the tree structure specified by StructId. StructId takes a string value. You cannot read or set any properties of a tree structure until after you open it.
When you open a tree structure, you can specify whether you want to open it for update, or in read-only mode, with the Update parameter. Update takes a Boolean value. Values for Update are:
-
"True": open tree structure in update mode (read/write).
-
"False": open tree structure in read-only mode.
If you try updating or writing to a tree structure opened in read-only mode, your changes are ignored.
Returns
A number: 0 if the method completes successfully.
Example
&MyTreeStruct = &MySession.GetTreeStructure();
&REtValue = &MyTreeStruct.Open("ACCESS_GROUP", True);