Remove 方法
Removes the specified DataItem from the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub Remove ( _
item As DataItem _
)
用法
Dim instance As DataItemCollection
Dim item As DataItem
instance.Remove(item)
public void Remove(
DataItem item
)
public:
void Remove(
DataItem^ item
)
member Remove :
item:DataItem -> unit
public function Remove(
item : DataItem
)
参数
- item
类型:Microsoft.AnalysisServices. . :: . .DataItem
The DataItem to be removed.
异常
异常 | 条件 |
---|---|
ItemNotFoundException | item is not contained by the collection. |