共用方式為


ITestRunHelper.ByBuild Method

Returns all test runs from the server that run against the given build.

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

Syntax

'Declaration
Function ByBuild ( _
    buildUri As Uri _
) As IEnumerable(Of ITestRun)
IEnumerable<ITestRun> ByBuild(
    Uri buildUri
)
IEnumerable<ITestRun^>^ ByBuild(
    Uri^ buildUri
)
abstract ByBuild : 
        buildUri:Uri -> IEnumerable<ITestRun> 
function ByBuild(
    buildUri : Uri
) : IEnumerable<ITestRun>

Parameters

  • buildUri
    Type: Uri

    The uniform resource identifier (URI) for a build of the test project.

Return Value

Type: IEnumerable<ITestRun>
A list of test-run objects.

.NET Framework Security

See Also

Reference

ITestRunHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestRun