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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- databaseType
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseType
Return Value
Type: System.Collections.Generic.List<TeamFoundationDatabaseProperties>
Returns List<T>.
.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.