ITestPlan.QueryTestPoints Method (String)
Finds and returns all test points that belong to this test plan and that match the provided query.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
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
Parameters
queryText
Type: StringA WIQL string that finds test point objects.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
A collection of test points.
Remarks
Here are some of the WIQL fields that can be used in this query: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: to query all points in the suite hierarchy starting with RecursiveSuiteId.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.