ITestPlan.QueryTestPoints 方法 (String)
查找并返回属于此测试计划并与所提供查询匹配的所有测试点。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Function QueryTestPoints ( _
queryText As String _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
string queryText
)
ITestPointCollection^ QueryTestPoints(
String^ queryText
)
abstract QueryTestPoints :
queryText:string -> ITestPointCollection
function QueryTestPoints(
queryText : String
) : ITestPointCollection
参数
- queryText
类型:System.String
一个 WIQL string,查找测试点对象。
返回值
类型:Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
测试点的集合。
备注
这是可用于此查询的某些WIQL字段:SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId:要查询所有在从开始RecursiveSuiteId的套件层次结构点。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。