Метод DataSourceCollection.Contains (DataSource)
Indicates whether the collection contains a specified DataSource.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Contains ( _
item As DataSource _
) As Boolean
'Применение
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
Параметры
- item
Тип: Microsoft.AnalysisServices.DataSource
The DataSource to be located.
Возвращаемое значение
Тип: System.Boolean
true if the DataSource is contained in the collection; otherwise, false.