This documentation is archived and is not being maintained.
Query::RunQuery Method
Visual Studio 2013
Executes a query that gets a WorkItemCollection that contains WorkItem objects that satisfy the query.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItemCollectionA WorkItemCollection that contains WorkItem objects that satisfy the query.
A query must first be initialized by using the Query::BeginQuery() method.
For more information about using this method, see Query for Bugs, Tasks, and Other Work Items.
- 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.
Show: