ITestCaseHelper.InPlans Method
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
'Declaration
Function InPlans ( _
queryText As String, _
isInPlans As Boolean _
) As IEnumerable(Of ITestCase)
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 : String,
isInPlans : boolean
) : IEnumerable<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.
.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.