DatabaseCollection.Contains Method (Database)
Indicates whether the collection contains a specified Database.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As Database _
) As Boolean
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.Database
The Database to be located.
Return Value
Type: System.Boolean
true if the Database is contained in the collection; otherwise, false.