Compartilhar via


Método Remove (DataSource)

Removes the specified DataSource from the collection.

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

Sintaxe

'Declaração
Public Sub Remove ( _
    item As DataSource _
)
'Uso
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
)

Parâmetros

Exceções

Exceção Condição
ItemNotFoundException

item is not contained by the collection.