Share via


ITestCaseResultHelper.ByTestId Method

Queries the server and returns a collection of test result objects for a test case.

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

Syntax

'Declaration
Function ByTestId ( _
    testCaseId As Integer _
) As ITestCaseResultCollection
ITestCaseResultCollection ByTestId(
    int testCaseId
)
ITestCaseResultCollection^ ByTestId(
    int testCaseId
)
abstract ByTestId : 
        testCaseId:int -> ITestCaseResultCollection
function ByTestId(
    testCaseId : int
) : ITestCaseResultCollection

Parameters

  • testCaseId
    Type: Int32

    The numeric ID of the test case for which to find test results.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
A collection of test results for the specified test case.

.NET Framework Security

See Also

Reference

ITestCaseResultHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCaseResultCollection