DatabaseCollection.FindByName Method (String)

 

Applies To: SQL Server 2016 Preview

Gets the Database, with the specified name, from the collection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

public Database FindByName(
    string name
)
public:
Database^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> Database
Public Function FindByName (
    name As String
) As Database

Parameters

Return Value

Type: Microsoft.AnalysisServices.Database

The Database if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

DatabaseCollection Class
Microsoft.AnalysisServices Namespace

Return to top