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
- item
Type: Microsoft.AnalysisServices.DataSourceView
The DataSourceView to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |