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