ITestManagementTeamProject.CreateTestQuery Method (array<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
'Declaration
Function CreateTestQuery ( _
ids As Integer(), _
queryHint As String _
) As ITestCaseQuery
ITestCaseQuery CreateTestQuery(
int[] ids,
string queryHint
)
ITestCaseQuery^ CreateTestQuery(
array<int>^ ids,
String^ queryHint
)
abstract CreateTestQuery :
ids:int[] *
queryHint:string -> ITestCaseQuery
function CreateTestQuery(
ids : int[],
queryHint : String
) : ITestCaseQuery
Parameters
ids
Type: array<Int32[]An array of test case IDs.
queryHint
Type: 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.
.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.
See Also
Reference
ITestManagementTeamProject Interface