ITestCaseHelper.Query Method (String, IDictionary)
Queries for test cases that match the provided query and parameters.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function Query ( _
queryText As String, _
wiqlContext As IDictionary _
) As IEnumerable(Of ITestCase)
IEnumerable<ITestCase> Query(
string queryText,
IDictionary wiqlContext
)
IEnumerable<ITestCase^>^ Query(
String^ queryText,
IDictionary^ wiqlContext
)
abstract Query :
queryText:string *
wiqlContext:IDictionary -> IEnumerable<ITestCase>
function Query(
queryText : String,
wiqlContext : IDictionary
) : IEnumerable<ITestCase>
Parameters
queryText
Type: StringThe Work Item Query Language (WIQL) that will be executed.
wiqlContext
Type: IDictionaryA dictionary of named values for WIQL parameters.
Return Value
Type: IEnumerable<ITestCase>
The list of requested test cases.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.