Export (0) Print
Expand All

WorkItemStore.Query Method (Int32[], String, DateTime)

Gets the set of fields that is referred to in wiql for the work items that are specified by an ID number (ids) as of the date that is specified in asof.

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

public WorkItemCollection Query(
	int[] ids,
	string wiql,
	DateTime asof
)

Parameters

ids
Type: System.Int32[]

A collection of work item IDs.

wiql
Type: System.String

The definition of fields to return.

asof
Type: System.DateTime

The earliest server time to process the query.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
A collection of work items that result from the query.

ExceptionCondition
ArgumentNullException

At least one parameter is null.

ArgumentException

The ids list is empty or asof is out of the supported range.

Show:
© 2014 Microsoft