Compartilhar via


Método Remove (String)

Removes the CubeHierarchy, with the specified identifier, from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Sub Remove ( _
    hierarchyId As String _
)
'Uso
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
)

Parâmetros

Exceções

Exceção Condição
ItemNotFoundException

hierarchyID is not contained by the collection.