共用方式為


TeamFoundationDatabaseManagementService.GetNumberOfDatabases 方法

取得註冊至集區資料庫的數目。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

傳回值

型別:System.Int32

.NET Framework 安全性

請參閱

參考

TeamFoundationDatabaseManagementService 類別

Microsoft.TeamFoundation.Framework.Server 命名空間