Partager via


TeamFoundationDatabaseManagementService.QueryDatabases Method (TeamFoundationRequestContext, TeamFoundationDatabaseType)

Query databases with specified database type

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

Syntax

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

Parameters

Return Value

Type: System.Collections.Generic.List<TeamFoundationDatabaseProperties>
Returns List<T>.

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

QueryDatabases Overload

Microsoft.TeamFoundation.Framework.Server Namespace