Platform SDK: Active Directory, ADSI, and Directory Services

Viewing Containers as Leaf Nodes

Potentially, any Active Directory™ object can be a container of other objects. This can clutter the user interface (UI), so it is possible to declare that a specific class be displayed as a leaf element by default. The treatAsLeaf attribute holds a Boolean value that, if True, indicates that the objects of the class should only be treated as leaf elements.