Partager via


ITestCaseResultHelper.FindByLink Method

Finds and returns a test result, and optionally a test result attachment, by using a uniform resource identifier (URI) to an artifact test result or test result attachment that is located in Visual Studio Team Foundation Server.

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

Syntax

'Declaration
Function FindByLink ( _
    artifactUri As Uri, _
    <OutAttribute> ByRef testAttachment As ITestAttachment _
) As ITestCaseResult
ITestCaseResult FindByLink(
    Uri artifactUri,
    out ITestAttachment testAttachment
)
ITestCaseResult^ FindByLink(
    Uri^ artifactUri, 
    [OutAttribute] ITestAttachment^% testAttachment
)
abstract FindByLink : 
        artifactUri:Uri * 
        testAttachment:ITestAttachment byref -> ITestCaseResult
function FindByLink(
    artifactUri : Uri, 
    testAttachment : ITestAttachment
) : ITestCaseResult

Parameters

  • artifactUri
    Type: Uri

    The URI for a test result or test result attachment that is located in Team Foundation Server.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult
The requested test case result or nulla null reference (Nothing in Visual Basic) if not found.

.NET Framework Security

See Also

Reference

ITestCaseResultHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCaseResult

ITestAttachment