Share via


ITestRun.QueryResultsByStatus Method

Returns a collection of test results for this test run that has the provided test status.

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

Syntax

'Declaration
Function QueryResultsByStatus ( _
    status As TestResultState _
) As ITestCaseResultCollection
ITestCaseResultCollection QueryResultsByStatus(
    TestResultState status
)
ITestCaseResultCollection^ QueryResultsByStatus(
    TestResultState status
)
abstract QueryResultsByStatus : 
        status:TestResultState -> ITestCaseResultCollection 
function QueryResultsByStatus(
    status : TestResultState
) : ITestCaseResultCollection

Parameters

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
A collection of test results.

.NET Framework Security

See Also

Reference

ITestRun Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCaseResultCollection