Share via


ITestManagementService.QueryTestRuns Method (String)

 

Returns a list of test runs that is found by executing the provided query.

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

Syntax

IEnumerable<ITestRun> QueryTestRuns(
    string queryText
)
IEnumerable<ITestRun^>^ QueryTestRuns(
    String^ queryText
)
abstract QueryTestRuns : 
        queryText:string -> IEnumerable<ITestRun>
Function QueryTestRuns (
    queryText As String
) As IEnumerable(Of ITestRun)

Parameters

  • queryText
    Type: System.String

    A Work Item Query Language (WIQL) query to execute.

Return Value

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

A list of test runs that match the query.

See Also

ITestRun
ITestManagementService Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top