ITestManagementService.QueryTestRuns Method
Returns a list of test runs that is found by executing the provided query.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function QueryTestRuns ( _
queryText As String _
) As IEnumerable(Of ITestRun)
IEnumerable<ITestRun> QueryTestRuns(
string queryText
)
IEnumerable<ITestRun^>^ QueryTestRuns(
String^ queryText
)
abstract QueryTestRuns :
queryText:string -> IEnumerable<ITestRun>
function QueryTestRuns(
queryText : String
) : IEnumerable<ITestRun>
Parameters
queryText
Type: StringA Work Item Query Language (WIQL) query to execute.
Return Value
Type: IEnumerable<ITestRun>
A list of test runs that match the 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
ITestManagementService Interface