Delen via


TeamFoundationDatabaseManagementService.GetDatabasePool Method

Gets specified database pool. DatabasePoolNotFoundException exception is thrown when the specified database pool not found.

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

Syntax

'Declaration
Public Function GetDatabasePool ( _
    requestContext As TeamFoundationRequestContext, _
    poolName As String _
) As TeamFoundationDatabasePool
public TeamFoundationDatabasePool GetDatabasePool(
    TeamFoundationRequestContext requestContext,
    string poolName
)
public:
TeamFoundationDatabasePool^ GetDatabasePool(
    TeamFoundationRequestContext^ requestContext, 
    String^ poolName
)
member GetDatabasePool : 
        requestContext:TeamFoundationRequestContext * 
        poolName:string -> TeamFoundationDatabasePool
public function GetDatabasePool(
    requestContext : TeamFoundationRequestContext, 
    poolName : String
) : TeamFoundationDatabasePool

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabasePool
Database pool information.

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace