CubeHierarchyCollection.Remove Method (CubeHierarchy)
Removes the specified CubeHierarchy from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As CubeHierarchy _
)
'Usage
Dim instance As CubeHierarchyCollection
Dim item As CubeHierarchy
instance.Remove(item)
public void Remove(
CubeHierarchy item
)
public:
void Remove(
CubeHierarchy^ item
)
member Remove :
item:CubeHierarchy -> unit
public function Remove(
item : CubeHierarchy
)
Parameters
- item
Type: Microsoft.AnalysisServices.CubeHierarchy
The CubeHierarchy to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |
See Also