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
- item
Type: Microsoft.AnalysisServices.Hierarchy
The Hierarchy to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |