Query Method (String)
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. ArchiveDisclaimer

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