Share via


ITestSuiteHelper.Query Method (String, IDictionary)

Returns a collection of test suite objects that match the provided query and the provided dictionary of context.

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

Syntax

'Declaration
Function Query ( _
    queryText As String, _
    context As IDictionary _
) As ITestSuiteCollection
ITestSuiteCollection Query(
    string queryText,
    IDictionary context
)
ITestSuiteCollection^ Query(
    String^ queryText, 
    IDictionary^ context
)
abstract Query : 
        queryText:string * 
        context:IDictionary -> ITestSuiteCollection
function Query(
    queryText : String, 
    context : IDictionary
) : ITestSuiteCollection

Parameters

  • queryText
    Type: String

    A WIQL query.

  • context
    Type: IDictionary

    A dictionary of name/value pairs that represent the current context.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestSuiteCollection
A collection of matching test suites.

Remarks

This does not return a list, and you cannot obtain a count of how many suites are returned without enumerating them.

.NET Framework Security

See Also

Reference

ITestSuiteHelper Interface

Query Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestSuiteCollection

ITestSuiteBase