Метод DatabaseCollection.Contains (Database)
Indicates whether the collection contains a specified Database.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Contains ( _
item As Database _
) As Boolean
'Применение
Dim instance As DatabaseCollection
Dim item As Database
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
Database item
)
public:
bool Contains(
Database^ item
)
member Contains :
item:Database -> bool
public function Contains(
item : Database
) : boolean
Параметры
- item
Тип: Microsoft.AnalysisServices.Database
The Database to be located.
Возвращаемое значение
Тип: System.Boolean
true if the Database is contained in the collection; otherwise, false.