CubeHierarchyCollection.Remove Method (String, Boolean)
Removes a CubeHierarchy from this collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
hierarchyId As String, _
cleanUp As Boolean _
)
'Usage
Dim instance As CubeHierarchyCollection
Dim hierarchyId As String
Dim cleanUp As Boolean
instance.Remove(hierarchyId, cleanUp)
public void Remove(
string hierarchyId,
bool cleanUp
)
public:
void Remove(
String^ hierarchyId,
bool cleanUp
)
member Remove :
hierarchyId:string *
cleanUp:bool -> unit
public function Remove(
hierarchyId : String,
cleanUp : boolean
)
Parameters
- hierarchyId
Type: System.String
The HierarchyID of the CubeHierarchy to be removed.
- cleanUp
Type: System.Boolean
If false, it will not delete referencing objects.