DataSourceCollection.Remove Method (DataSource)
Removes the specified DataSource from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As DataSource _
)
'Usage
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
)
Parameters
- item
Type: Microsoft.AnalysisServices.DataSource
The DataSource to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |