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
)
參數
- hierarchyId
型別:System. . :: . .String
例外狀況
例外狀況 | 條件 |
---|---|
ItemNotFoundException | hierarchyID is not contained by the collection. |