共用方式為


ITestRunHelper.Count 方法

傳回伺服器上符合指定查詢的測試回合物件數。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Function Count ( _
    queryText As String _
) As Integer
int Count(
    string queryText
)
int Count(
    String^ queryText
)
abstract Count : 
        queryText:string -> int 
function Count(
    queryText : String
) : int

參數

  • queryText
    型別:System.String
    工作項目查詢語言 (WIQL) 查詢。

傳回值

型別:System.Int32
符合指定之查詢的測試回合物件數。

.NET Framework 安全性

請參閱

參考

ITestRunHelper 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間

ITestRun