Remove méthode (DataSource)
Removes the specified DataSource from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Sub Remove ( _
item As DataSource _
)
'Utilisation
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
)
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .DataSource
The DataSource to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |