Delen via


ITestConfigurationHelper.Query Method (String, IDictionary)

Returns a collection of test configurations from the server by using the provided query and 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 ITestConfigurationCollection
ITestConfigurationCollection Query(
    string queryText,
    IDictionary context
)
ITestConfigurationCollection^ Query(
    String^ queryText, 
    IDictionary^ context
)
abstract Query : 
        queryText:string * 
        context:IDictionary -> ITestConfigurationCollection
function Query(
    queryText : String, 
    context : IDictionary
) : ITestConfigurationCollection

Parameters

  • queryText
    Type: String

    The WIQL that will be executed.

  • context
    Type: IDictionary

    A dictionary of named values for WIQL parameters.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestConfigurationCollection
A collection of matching test configurations.

.NET Framework Security

See Also

Reference

ITestConfigurationHelper Interface

Query Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestConfigurationCollection

ITestConfiguration