Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

ITestSuiteCollection^ Query(
	String^ queryText,
	IDictionary^ context
)

Parameters

queryText
Type: System::String^

A WIQL query.

context
Type: System.Collections::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.

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

Return to top
Show: