ITestCaseHelper.Query Method (String)
Queries for test cases that match the provided query.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function Query ( _
queryText As String _
) As IEnumerable(Of ITestCase)
IEnumerable<ITestCase> Query(
string queryText
)
IEnumerable<ITestCase^>^ Query(
String^ queryText
)
abstract Query :
queryText:string -> IEnumerable<ITestCase>
function Query(
queryText : String
) : IEnumerable<ITestCase>
Parameters
queryText
Type: StringThe Work Item Query Language (WIQL) that will be executed.
Return Value
Type: IEnumerable<ITestCase>
The list of matching 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.