DataSourceCollection.Contains DataSourceCollection.Contains DataSourceCollection.Contains Method

Definition

Indicates whether the collection contains a DataSource.

Overloads

Contains(DataSource) Contains(DataSource) Contains(DataSource)

Indicates whether the collection contains a specified DataSource.

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a DataSource, with the specified identifier.

Contains(DataSource) Contains(DataSource) Contains(DataSource)

Indicates whether the collection contains a specified DataSource.

public:
 bool Contains(Microsoft::AnalysisServices::DataSource ^ item);
public bool Contains (Microsoft.AnalysisServices.DataSource item);
Public Function Contains (item As DataSource) As Boolean
Parameters
item
DataSource DataSource DataSource

The DataSource to be located.

Returns

true if the DataSource is contained in the collection; otherwise, false.

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a DataSource, with the specified identifier.

public:
 bool Contains(System::String ^ id);
public bool Contains (string id);
Public Function Contains (id As String) As Boolean
Parameters
id
String String String

The identifier of the DataSource to be located.

Returns

true if the DataSource is contained in the collection; otherwise, false.

Applies to