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
attachment
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment%out param returning actual attachment object corresponding to the id
getSiblingAttachments
Type: BooleanFlag asking whether siblings should be returned or not
Return Value
Type: IList<ITestAttachment>
.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.