Share via


ITestManagementTeamProject.QueryAttachments Method

Returns a list of attachments that match the specified query.

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

Syntax

'Declaration
Function QueryAttachments ( _
    queryText As String _
) As IList(Of ITestAttachment)
IList<ITestAttachment> QueryAttachments(
    string queryText
)
IList<ITestAttachment^>^ QueryAttachments(
    String^ queryText
)
abstract QueryAttachments : 
        queryText:string -> IList<ITestAttachment> 
function QueryAttachments(
    queryText : String
) : IList<ITestAttachment>

Parameters

  • queryText
    Type: String

    WIQL query to find attachments.

Return Value

Type: IList<ITestAttachment>
A list of matching attachments.

Remarks

This list is read-only. Removing items from it will not cause them to be removed from the server

.NET Framework Security

See Also

Reference

ITestManagementTeamProject Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace