PerspectiveHierarchyCollection.Remove Method (String)
Removes the PerspectiveHierarchy that has the specified identifier from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
hierarchyId As String _
)
'Usage
Dim instance As PerspectiveHierarchyCollection
Dim hierarchyId As String
instance.Remove(hierarchyId)
public void Remove(
string hierarchyId
)
public:
void Remove(
String^ hierarchyId
)
member Remove :
hierarchyId:string -> unit
public function Remove(
hierarchyId : String
)
Parameters
- hierarchyId
Type: System.String
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | hierarchyID does not exist in the collection. |