Partager via


ITestRunHelper.Query Method (String)

Returns a list of test-run objects that match the provided query.

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

Syntax

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

Parameters

  • queryText
    Type: String

    A WIQL query.

Return Value

Type: IEnumerable<ITestRun>
A list of test-run objects.

.NET Framework Security

See Also

Reference

ITestRunHelper Interface

Query Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestRun