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)
Syntax
IEnumerable<ITestRun> Query(
string queryText,
bool includeStats
)
IEnumerable<ITestRun^>^ Query(
String^ queryText,
bool includeStats
)
abstract Query :
queryText:string *
includeStats:bool -> IEnumerable<ITestRun>
Function Query (
queryText As String,
includeStats As Boolean
) As IEnumerable(Of ITestRun)
Parameters
queryText
Type: System.StringWIQL query to execute.
includeStats
Type: System.BooleanInclude statistics associated with the test run.
Return Value
Type: System.Collections.Generic.IEnumerable<ITestRun>
List of test runs.
See Also
Query Overload
ITestRunHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top