ITestManagementTeamProject.CreateTestQuery Method (Int32[], String)
Creates a new test case query from the given non-empty array of test case IDs and a hint that indicates which fields of the test cases will be retrieved.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
ITestCaseQuery CreateTestQuery(
int[] ids,
string queryHint
)
ITestCaseQuery^ CreateTestQuery(
array<int>^ ids,
String^ queryHint
)
abstract CreateTestQuery :
ids:int[] *
queryHint:string -> ITestCaseQuery
Function CreateTestQuery (
ids As Integer(),
queryHint As String
) As ITestCaseQuery
Parameters
ids
Type: System.Int32[]An array of test case IDs.
queryHint
Type: System.StringA Work Item Query Language (WIQL) query that has no qualifying clauses.
For example:
SELECT [System.Title], [System.AreaPath] From WorkItems
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseQuery
A new test case query.
See Also
ITestCase
CreateTestQuery Overload
ITestManagementTeamProject Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top