Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
ITestSuiteCollection Query(
string queryText,
IDictionary context
)
ITestSuiteCollection^ Query(
String^ queryText,
IDictionary^ context
)
abstract Query :
queryText:string *
context:IDictionary -> ITestSuiteCollection
Function Query (
queryText As String,
context As IDictionary
) As ITestSuiteCollection
Parameters
queryText
Type: System.StringA WIQL query.
context
Type: System.Collections.IDictionaryA 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.
See Also
ITestSuiteCollection
ITestSuiteBase
Query Overload
ITestSuiteHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top