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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextDeployment request context.
poolName
Type: System.StringThe name of the database pool.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabasePool
Database pool information.
.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.