HierarchyInfo Class
TOC
Collapse the table of content
Expand the table of content

HierarchyInfo Class

IIS 7.0

Manages the hierarchy of objects added to a Module derived class.

System..::..Object
  Microsoft.Web.Management.Client..::..HierarchyInfo

Namespace:  Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public abstract class HierarchyInfo : IServiceProvider, 
	IDisposable

The HierarchyInfo type exposes the following members.

  NameDescription
Protected methodHierarchyInfoInitializes a new instance of the HierarchyInfo class, using the specified service provider.
Top

  NameDescription
Protected propertyConnectionGets the connection associated with the node.
Public propertyImageGets the image associated with the node for use in IIS Manager.
Public propertyIsExtendableGets a value indicating whether the node supports child nodes.
Public propertyIsLoadedGets a value indicating whether all child nodes have been added.
Public propertyNodeTypeWhen overridden in a derived class, gets the type of node added to the hierarchy.
Public propertyNodeTypeNameWhen overridden in a derived class, gets the instance name of the node added to the hierarchy.
Public propertyParentGets the parent node.
Public propertyPriorityGets the listing priority order for the node.
Public propertyPropertiesWhen overridden in a derived class, gets a dictionary of node-specific information.
Public propertySupportsChildrenGets a value indicating whether the node supports child nodes.
Protected propertySupportsDeleteGets a value indicating whether the node supports removal.
Protected propertySupportsRenameGets a value indicating whether the node supports renaming.
Public propertyTasksGets a container of user-definable methods.
Public propertyTextWhen overridden in a derived class, gets the name for the node.
Public propertyToolTipWhen overridden in the derived class, gets the tooltip text for the node.
Public propertyVisibilityGets the visibility of the node in IIS Manager.
Top

  NameDescription
Public methodCollapseHides the child nodes.
Public methodDeleteDeletes the node from the hierarchy.
Protected methodDisposeReleases all resources used by the HierarchyInfo.
Public methodEquals (Inherited from Object.)
Public methodExpandExpands the node and displays the child nodes.
Protected methodFinalize (Inherited from Object.)
Protected methodGetChildrenWhen overridden in the derived class, returns the child nodes.
Public methodGetHashCode (Inherited from Object.)
Protected methodGetServiceGets the service object of the specified type.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNavigate(Type)Navigates the IIS Manager Connections pane to the specified page. 
Protected methodNavigate(Type, Object)Navigates the IIS Manager Connections pane to the specified page. 
Protected methodOnDeletingOccurs when the Delete method is called from the user interface (UI) or programmatically.
Protected methodOnRenamedOccurs when the Rename command is called from the user interface (UI) or programmatically and is not canceled from the OnRenaming method.
Protected methodOnRenamingOccurs when the Rename command is called from the user interface (UI) or programmatically.
Protected methodOnSelectedOccurs when the object derived from HierarchyInfo is selected.
Public methodRefreshOccurs when the Refresh command is called from the user interface (UI) or programmatically.
Public methodSelectNavigates to the calling HierarchyInfo derived object in the IIS Manager Connections pane.
Public methodToString (Inherited from Object.)
Public methodUpdateUpdates the view of the current node in the Connections pane of IIS Manager.
Top

  NameDescription
Public fieldStatic memberApplicationThe literal string "Microsoft.Web.Management.HierarchyInfo.Application".
Public fieldStatic memberApplicationConnectionThe literal string "Microsoft.Web.Management.HierarchyInfo.ApplicationConnection".
Public fieldStatic memberApplicationPoolsThe literal string "Microsoft.Web.Management.HierarchyInfo.ApplicationPools".
Public fieldStatic memberFileThe literal string "Microsoft.Web.Management.HierarchyInfo.File".
Public fieldStatic memberFolderThe literal string "Microsoft.Web.Management.HierarchyInfo.Folder".
Public fieldStatic memberFtpSitesThe literal string "Microsoft.Web.Management.HierarchyInfo.FtpSites".
Public fieldStatic memberServerConnectionThe literal string "Microsoft.Web.Management.HierarchyInfo.ServerConnection".
Public fieldStatic memberSiteThe literal string "Microsoft.Web.Management.HierarchyInfo.Site".
Public fieldStatic memberSiteConnectionThe literal string "Microsoft.Web.Management.HierarchyInfo.SiteConnection".
Public fieldStatic memberSitesThe literal string "Microsoft.Web.Management.HierarchyInfo.Sites".
Public fieldStatic memberStartThe literal string "Microsoft.Web.Management.HierarchyInfo.Start".
Public fieldStatic memberVirtualDirectoryThe literal string "Microsoft.Web.Management.HierarchyInfo.VirtualDirectory".
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable..::..DisposeReleases all unmanaged resources used by the HierarchyInfo.
Explicit interface implemetationPrivate methodIServiceProvider..::..GetServiceGets the service object of the specified type.
Top

The HierarchyInfo class represents a node in the Connections pane of IIS Manager. The nodes are displayed in a tree view. The local server, Sites, and Application Pools are all examples of HierarchyInfo nodes.

Notes to Inheritors

When you inherit from HierarchyInfo, you must override the following members: NodeType and Text.

internal class DemoHierarchyInfo : HierarchyInfo
{


...


public DemoHierarchyInfo(IServiceProvider serviceProvider)
    : base(serviceProvider)
{
    DemoHierarchyInfoInit();
    initTraceP();
}


...


}


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2016 Microsoft