This documentation is archived and is not being maintained.

Work Item Query Language

The Work Item Query Language (WIQL) is a SQL-like language you can use to query programmatically for work items against the work item object model.

You can use it to build more complex queries than supported in the query builder user interface of the Team Explorer.

WIQL is available for use in add-ins or any Team Foundation Server extensions.

Essentials of Work Item Queries

A brief introduction to the concepts of writing queries for work items.

Syntax for the Work Item Query Language

Describes the syntax used in the Work Item Query Language.

Work Item Query Language Security Considerations

Describes some of the security concerns in using queries and in obtaining result sets.