HierarchyCollection.Remove Method (Hierarchy)

Removes the specified Hierarchy from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    item As Hierarchy _
)
'Usage
Dim instance As HierarchyCollection 
Dim item As Hierarchy

instance.Remove(item)
public void Remove(
    Hierarchy item
)
public:
void Remove(
    Hierarchy^ item
)
member Remove : 
        item:Hierarchy -> unit
public function Remove(
    item : Hierarchy
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.

See Also

Reference

HierarchyCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace