This documentation is archived and is not being maintained.
WorkItemStore.Query Method (Int32(), Int32(), String)
Visual Studio 2013
Gets the set of fields that is referred to in wiql for the work items that are specified by an ID number, ids, and revision (revs).
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
'Declaration Public Function Query ( _ ids As Integer(), _ revs As Integer(), _ wiql As String _ ) As WorkItemCollection
Parameters
- ids
- Type: System.Int32()
A collection of work item IDs.
- revs
- Type: System.Int32()
A collection of work item revision numbers.
- wiql
- Type: System.String
The definition of fields to return.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollectionA collection of work items that result from the query.
- 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: