Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestRunHelper::Query Method (String^, Boolean)

 

Queries the server to find all test runs matching the given query. Also provides an option for including statistics.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

IEnumerable<ITestRun^>^ Query(
	String^ queryText,
	bool includeStats
)

Parameters

queryText
Type: System::String^

WIQL query to execute.

includeStats
Type: System::Boolean

Include statistics associated with the test run.

Return Value

Type: System.Collections.Generic::IEnumerable<ITestRun^>^

List of test runs.

Return to top
Show: