Query Method (String)
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

WorkItemStore.Query Method (String)

Executes a query with the provided WIQL string and returns a collection of WorkItem objects.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in microsoft.teamfoundation.workitemtracking.client.dll)

public WorkItemCollection Query (
	string wiql
public WorkItemCollection Query (
	String wiql
public function Query (
	wiql : String
) : WorkItemCollection



A query represented as a Work Item Query Language (WIQL) string.

Return Value

Returns a WorkItemCollection of WorkItem objects that are the result of the query.
© 2016 Microsoft