ITestPlan.QueryTestPoints Method (String, String, array<String , Boolean)
Finds all points that belong to this plan and match the given WIQL conditions.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function QueryTestPoints ( _
pointQueryText As String, _
testCaseFieldText As String, _
testCaseProperties As String(), _
fetchFirstPage As Boolean _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
string pointQueryText,
string testCaseFieldText,
string[] testCaseProperties,
bool fetchFirstPage
)
ITestPointCollection^ QueryTestPoints(
String^ pointQueryText,
String^ testCaseFieldText,
array<String^>^ testCaseProperties,
bool fetchFirstPage
)
abstract QueryTestPoints :
pointQueryText:string *
testCaseFieldText:string *
testCaseProperties:string[] *
fetchFirstPage:bool -> ITestPointCollection
function QueryTestPoints(
pointQueryText : String,
testCaseFieldText : String,
testCaseProperties : String[],
fetchFirstPage : boolean
) : ITestPointCollection
Parameters
pointQueryText
Type: StringWIQL query string for retrieving points.
testCaseFieldText
Type: StringWIQL string for retrieving the embedded test case.
testCaseProperties
Type: array<String[]Array of properties of the associated test case, to pre-fetch and cache
fetchFirstPage
Type: BooleanIf true, the call also fetches the first page from the server.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Collection of points matching query.
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.