ITestCaseResultHelper.FindByLink Method (Uri, ITestAttachment)
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
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 As Uri,
<OutAttribute> ByRef testAttachment As ITestAttachment
) As ITestCaseResult
Parameters
artifactUri
Type: System.UriThe URI for a test result or test result attachment that is located in Team Foundation Server.
testAttachment
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment(Output) The attachment to the test result.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult
The requested test case result or null if not found.
See Also
ITestCaseResult
ITestAttachment
ITestCaseResultHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top