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: StringWIQL 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
- 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.