Dela via


DataSourceViewCollection.Remove Method (DataSourceView)

Removes the specified DataSourceView from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    item As DataSourceView _
)
'Usage
Dim instance As DataSourceViewCollection
Dim item As DataSourceView

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

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.