PerspectiveHierarchyCollection.Remove Method (PerspectiveHierarchy)
Removes the specified PerspectiveHierarchy from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As PerspectiveHierarchy _
)
'Usage
Dim instance As PerspectiveHierarchyCollection
Dim item As PerspectiveHierarchy
instance.Remove(item)
public void Remove(
PerspectiveHierarchy item
)
public:
void Remove(
PerspectiveHierarchy^ item
)
member Remove :
item:PerspectiveHierarchy -> unit
public function Remove(
item : PerspectiveHierarchy
)
Parameters
- item
Type: Microsoft.AnalysisServices.PerspectiveHierarchy
The PerspectiveHierarchy to remove.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item does not exist in the collection. |