Delen via


ITestManagementService.QueryTestRuns Method

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

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

Parameters

  • queryText
    Type: String

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

Return Value

Type: IEnumerable<ITestRun>
A list of test runs that match the query.

.NET Framework Security

See Also

Reference

ITestManagementService Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestRun