Partilhar via


Método Contains (DataSource)

Indicates whether the collection contains a specified DataSource.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As DataSource _
) As Boolean
'Uso
Dim instance As DataSourceCollection
Dim item As DataSource
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    DataSource item
)
public:
bool Contains(
    DataSource^ item
)
member Contains : 
        item:DataSource -> bool 
public function Contains(
    item : DataSource
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the DataSource is contained in the collection; otherwise, false.