CubeHierarchyCollection.Remove Method (String)
Removes the CubeHierarchy, with 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 CubeHierarchyCollection
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 is not contained by the collection. |
See Also