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: 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 nulla null reference (Nothing in Visual Basic) if not found.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITestCaseResultHelper Interface