Delen via


TeamFoundationDatabaseManagementService.QueryDatabases Method (TeamFoundationRequestContext, String)

Query databases from the specified database pool.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function QueryDatabases ( _
    requestContext As TeamFoundationRequestContext, _
    poolName As String _
) As List(Of TeamFoundationDatabaseProperties)
public List<TeamFoundationDatabaseProperties> QueryDatabases(
    TeamFoundationRequestContext requestContext,
    string poolName
)
public:
List<TeamFoundationDatabaseProperties^>^ QueryDatabases(
    TeamFoundationRequestContext^ requestContext, 
    String^ poolName
)
member QueryDatabases : 
        requestContext:TeamFoundationRequestContext * 
        poolName:string -> List<TeamFoundationDatabaseProperties> 
public function QueryDatabases(
    requestContext : TeamFoundationRequestContext, 
    poolName : String
) : List<TeamFoundationDatabaseProperties>

Parameters

Return Value

Type: System.Collections.Generic.List<TeamFoundationDatabaseProperties>
A list of databases that belong to the specified pool.

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

QueryDatabases Overload

Microsoft.TeamFoundation.Framework.Server Namespace