ITestCaseHelper.InPlans Method (String, Boolean)

 

Returns a list of test cases that match the given query and that are either included in or excluded from a test plan.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

IEnumerable<ITestCase> InPlans(
    string queryText,
    bool isInPlans
)
IEnumerable<ITestCase^>^ InPlans(
    String^ queryText,
    bool isInPlans
)
abstract InPlans : 
        queryText:string *
        isInPlans:bool -> IEnumerable<ITestCase>
Function InPlans (
    queryText As String,
    isInPlans As Boolean
) As IEnumerable(Of ITestCase)

Parameters

  • queryText
    Type: System.String

    The Work Item Query Language (WIQL) query to execute.

  • isInPlans
    Type: System.Boolean

    true to select test cases that are included in one or more test plans; false to select test cases that are not included in a test plan.

Return Value

Type: System.Collections.Generic.IEnumerable<ITestCase>

A list of ITestCase objects.

See Also

ITestCase
ITestCaseHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top