Share via


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: String

    A 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

See Also

Reference

ITestManagementTeamProject Interface

CreateTestQuery Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase