TeamFoundationDatabaseManagementService.GetNumberOfDatabases Method

Get the number of databases that are registered to a pool.

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

Syntax

'Declaration
Public Function GetNumberOfDatabases ( _
    requestContext As TeamFoundationRequestContext, _
    poolName As String, _
    status As Nullable(Of TeamFoundationDatabaseStatus) _
) As Integer
public int GetNumberOfDatabases(
    TeamFoundationRequestContext requestContext,
    string poolName,
    Nullable<TeamFoundationDatabaseStatus> status
)
public:
int GetNumberOfDatabases(
    TeamFoundationRequestContext^ requestContext, 
    String^ poolName, 
    Nullable<TeamFoundationDatabaseStatus> status
)
member GetNumberOfDatabases : 
        requestContext:TeamFoundationRequestContext * 
        poolName:string * 
        status:Nullable<TeamFoundationDatabaseStatus> -> int
public function GetNumberOfDatabases(
    requestContext : TeamFoundationRequestContext, 
    poolName : String, 
    status : Nullable<TeamFoundationDatabaseStatus>
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace