ITestPlan.QueryTestPointsAndStatistics 方法 (String, String, ITestPointStatistics%)

查找属于该计划和匹配给定的WIQL条件的所有点。

命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

声明
Function QueryTestPointsAndStatistics ( _
    queryText As String, _
    testCaseFieldText As String, _
    <OutAttribute> ByRef statistics As ITestPointStatistics _
) As ITestPointCollection
ITestPointCollection QueryTestPointsAndStatistics(
    string queryText,
    string testCaseFieldText,
    out ITestPointStatistics statistics
)
ITestPointCollection^ QueryTestPointsAndStatistics(
    String^ queryText, 
    String^ testCaseFieldText, 
    [OutAttribute] ITestPointStatistics^% statistics
)
abstract QueryTestPointsAndStatistics : 
        queryText:string * 
        testCaseFieldText:string * 
        statistics:ITestPointStatistics byref -> ITestPointCollection 
function QueryTestPointsAndStatistics(
    queryText : String, 
    testCaseFieldText : String, 
    statistics : ITestPointStatistics
) : ITestPointCollection

参数

  • queryText
    类型:System.String
    WIQL检索的查询字符串点。
  • testCaseFieldText
    类型:System.String
    检索的嵌入式WIQL字符串测试用例。

返回值

类型:Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
集合点匹配的查询。

备注

这是可用于此查询的某些WIQL字段:SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId:要查询所有在从开始RecursiveSuiteId的套件层次结构点。

.NET Framework 安全性

请参见

参考

ITestPlan 接口

QueryTestPointsAndStatistics 重载

Microsoft.TeamFoundation.TestManagement.Client 命名空间