Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Queries the server to find all test runs matching the given query. Also provides an option for including statistics.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function Query ( _
queryText As String, _
includeStats As Boolean _
) As IEnumerable(Of ITestRun)
IEnumerable<ITestRun> Query(
string queryText,
bool includeStats
)
IEnumerable<ITestRun^>^ Query(
String^ queryText,
bool includeStats
)
abstract Query :
queryText:string *
includeStats:bool -> IEnumerable<ITestRun>
function Query(
queryText : String,
includeStats : boolean
) : IEnumerable<ITestRun>
Parameters
queryText
Type: StringWIQL query to execute.
includeStats
Type: BooleanInclude statistics associated with the test run.
Return Value
Type: IEnumerable<ITestRun>
List of test runs.
.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.