Share via


HierarchyService.Remove(HierarchyInfo) Method

Definition

When overridden in a derived class, removes the specified node from the Connections pane in IIS Manager.

public:
 abstract void Remove(Microsoft::Web::Management::Client::HierarchyInfo ^ hierarchyInfo);
public abstract void Remove (Microsoft.Web.Management.Client.HierarchyInfo hierarchyInfo);
abstract member Remove : Microsoft.Web.Management.Client.HierarchyInfo -> unit

Parameters

hierarchyInfo
HierarchyInfo

The HierarchyInfo object to remove.

Remarks

This method enables you to create a customized Remove method such as collapsing the site node after the node is removed.

For an example of this method, see the example for the HierarchyService class.

Applies to