Remove 方法 (DataSource)

Removes the specified DataSource from the collection.

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

语法

声明
Public Sub Remove ( _
    item As DataSource _
)
用法
Dim instance As DataSourceCollection
Dim item As DataSource

instance.Remove(item)
public void Remove(
    DataSource item
)
public:
void Remove(
    DataSource^ item
)
member Remove : 
        item:DataSource -> unit 
public function Remove(
    item : DataSource
)

参数

异常

异常 条件
ItemNotFoundException

item is not contained by the collection.