查找并返回属于此测试计划并与所提供点查询和字段值子查询匹配的所有测试点。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Function QueryTestPoints ( _
    pointQueryText As String, _
    testCaseFieldText As String _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
    string pointQueryText,
    string testCaseFieldText
)
ITestPointCollection^ QueryTestPoints(
    String^ pointQueryText, 
    String^ testCaseFieldText
)
abstract QueryTestPoints : 
        pointQueryText:string * 
        testCaseFieldText:string -> ITestPointCollection 
function QueryTestPoints(
    pointQueryText : String, 
    testCaseFieldText : String
) : ITestPointCollection
参数
- pointQueryText
 类型:System.String
 一个 WIQL string,查找测试点对象。
- testCaseFieldText
 类型:System.String
 一个 WIQL string,它通过查看含特定值或范围的字段来找到测试事例。
返回值
类型:Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
测试点的集合。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。