PerspectiveHierarchyCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Remove(PerspectiveHierarchy) |
Removes the specified PerspectiveHierarchy from the collection. |
Remove(String) |
Removes the PerspectiveHierarchy with the specified HierarchyID from the collection. |
Remove(PerspectiveHierarchy, Boolean) |
Removes the specified PerspectiveHierarchy from the collection. |
Remove(String, Boolean) |
Removes the PerspectiveHierarchy with the specified HierarchyID from the collection. |
Remove(PerspectiveHierarchy)
Removes the specified PerspectiveHierarchy from the collection.
public void Remove (Microsoft.AnalysisServices.PerspectiveHierarchy item);
override this.Remove : Microsoft.AnalysisServices.PerspectiveHierarchy -> unit
Public Sub Remove (item As PerspectiveHierarchy)
Parameters
- item
- PerspectiveHierarchy
The PerspectiveHierarchy to be removed.
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Applies to
Remove(String)
Removes the PerspectiveHierarchy with the specified HierarchyID from the collection.
public void Remove (string hierarchyId);
override this.Remove : string -> unit
Public Sub Remove (hierarchyId As String)
Parameters
- hierarchyId
- String
The HierarchyID of the PerspectiveHierarchy to be removed.
Applies to
Remove(PerspectiveHierarchy, Boolean)
Removes the specified PerspectiveHierarchy from the collection.
public void Remove (Microsoft.AnalysisServices.PerspectiveHierarchy item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.PerspectiveHierarchy * bool -> unit
Public Sub Remove (item As PerspectiveHierarchy, cleanUp As Boolean)
Parameters
- item
- PerspectiveHierarchy
The PerspectiveHierarchy to be removed.
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.
Applies to
Remove(String, Boolean)
Removes the PerspectiveHierarchy with the specified HierarchyID from the collection.
public void Remove (string hierarchyId, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (hierarchyId As String, cleanUp As Boolean)
Parameters
- hierarchyId
- String
The HierarchyID of the PerspectiveHierarchy to be removed.
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.