共用方式為


CubeHierarchyCollection.Remove 方法 (String, Boolean)

Removes a CubeHierarchy from this collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub Remove ( _
    hierarchyId As String, _
    cleanUp As Boolean _
)
'用途
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
)

參數

  • hierarchyId
    型別:System.String
    The HierarchyID of the CubeHierarchy to be removed.
  • cleanUp
    型別:System.Boolean
    If false, it will not delete referencing objects.

請參閱

參考

CubeHierarchyCollection 類別

Remove 多載

Microsoft.AnalysisServices 命名空間