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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
poolName
Type: System.StringThe name of the database pool.
Return Value
Type: System.Collections.Generic.List<TeamFoundationDatabaseProperties>
A list of databases that belong to the specified pool.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.