DatabaseCollection.Find Method
Gets the Database, with the specified identifier, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Find ( _
id As String _
) As Database
'Usage
Dim instance As DatabaseCollection
Dim id As String
Dim returnValue As Database
returnValue = instance.Find(id)
public Database Find(
string id
)
public:
Database^ Find(
String^ id
)
member Find :
id:string -> Database
public function Find(
id : String
) : Database
Parameters
- id
Type: System.String
The identifier of the Database to be returned.
Return Value
Type: Microsoft.AnalysisServices.Database
The Database if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).