ITestManagementTeamProject.QueryAttachmentsByLink Method

Returns list of sibling attachments and the attachment itself for an attachment artifact uri.

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

Syntax

'Declaration
Function QueryAttachmentsByLink ( _
    artifactUri As Uri, _
    <OutAttribute> ByRef attachment As ITestAttachment, _
    getSiblingAttachments As Boolean _
) As IList(Of ITestAttachment)
IList<ITestAttachment> QueryAttachmentsByLink(
    Uri artifactUri,
    out ITestAttachment attachment,
    bool getSiblingAttachments
)
IList<ITestAttachment^>^ QueryAttachmentsByLink(
    Uri^ artifactUri, 
    [OutAttribute] ITestAttachment^% attachment, 
    bool getSiblingAttachments
)
abstract QueryAttachmentsByLink : 
        artifactUri:Uri * 
        attachment:ITestAttachment byref * 
        getSiblingAttachments:bool -> IList<ITestAttachment> 
function QueryAttachmentsByLink(
    artifactUri : Uri, 
    attachment : ITestAttachment, 
    getSiblingAttachments : boolean
) : IList<ITestAttachment>

Parameters

  • artifactUri
    Type: Uri
  • getSiblingAttachments
    Type: Boolean

    Flag asking whether siblings should be returned or not

Return Value

Type: IList<ITestAttachment>

.NET Framework Security

See Also

Reference

ITestManagementTeamProject Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace