Share via


HierarchyVisibility Enum

Definition

Specifies the display mode of nodes in the graphical user interface (GUI) of IIS Manager.

public enum class HierarchyVisibility
public enum HierarchyVisibility
type HierarchyVisibility = 
Public Enum HierarchyVisibility
Inheritance
HierarchyVisibility

Fields

Name Value Description
All 0

Displays all nodes at the current leaf level in the Connections pane and the Content pane.

Hierarchy 1

Displays all hierarchical nodes.

List 2

Displays all content nodes.

Examples

The following example implements the Microsoft.Web.Management.Client.HierarchyInfo.Visibility property with the value Hierarchy.

public override HierarchyVisibility Visibility
{
    get
    {
        return HierarchyVisibility.Hierarchy;
    }
}

Remarks

The IIS Manager GUI has a Connections pane (also known as the hierarchy pane) on the left and a Content or Features pane in the center (depending on whether the Content or Features tab is selected). Folders under a Web site have both hierarchy and content nodes, and the appearance of folders will vary depending on the selected tab, pane, or node. For example, the default Web site could have an Images folder that has a child Widgets folder. The Widgets folder will appear in both the Connections pane and the Content pane when the Image node is selected and the Content tab is selected. Files in the Widgets folder will appear only in the Content pane.

Applies to