Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

Community Additions

© 2015 Microsoft