Sdílet prostřednictvím


Wiql Element (wiq Schema)

Contains the work item query language (WIQL) commands that define the query.

Schema Hierarchy

WorkItemQuery Element (wiq Schema)

    Wiql Element (wiq Schema)

<Wiql>SQL commands</Wiql>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

WorkItemQuery

Required element.

Contains the work item query definition.

Text Value

The work item query language commands that define the query. For more information, see the following page on the Microsoft Web site: Work Item Query Language.

Remarks

Wiql is a required child element of WorkItemQuery.

minoccurs="1"

maxOccurs="1"

The Microsoft Solutions Framework process templates provide several examples of the Structured Query Language (SQL) commands that are supported in a WIQL element. These files are located in the Queries folder of the WorkItem Tracking folder. For more information, see Add a Query to a Process Template.

Element Information

Namespace

None

Schema Name

Wiq schema

Validation File

wiq.xsd

Type

string

Can be Empty

Not applicable

See Also

Concepts

Add a Query to a Process Template

Other Resources

Process Template Schemas Download