Remove 方法 (String)

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

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub Remove ( _
    hierarchyId As String _
)
用法
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
)

参数

异常

异常 条件
ItemNotFoundException

hierarchyID is not contained by the collection.