Share via


ITestCaseHelper.Query Method (String)

Queries for test cases 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 ITestCase)
IEnumerable<ITestCase> Query(
    string queryText
)
IEnumerable<ITestCase^>^ Query(
    String^ queryText
)
abstract Query : 
        queryText:string -> IEnumerable<ITestCase> 
function Query(
    queryText : String
) : IEnumerable<ITestCase>

Parameters

  • queryText
    Type: String

    The Work Item Query Language (WIQL) that will be executed.

Return Value

Type: IEnumerable<ITestCase>
The list of matching test cases.

.NET Framework Security

See Also

Reference

ITestCaseHelper Interface

Query Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase