Edit

Share via


QueryHierarchyItem Class

Definition

Represents an item in the work item query hierarchy. This can be either a query or a folder.

[System.Runtime.Serialization.DataContract]
public class QueryHierarchyItem : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTrackingResource
type QueryHierarchyItem = class
    inherit WorkItemTrackingResource
Public Class QueryHierarchyItem
Inherits WorkItemTrackingResource
Inheritance
Microsoft.VisualStudio.Services.WebApi.BaseSecuredObject
QueryHierarchyItem
Attributes

Constructors

QueryHierarchyItem()

Properties

Children

The child query items inside a query folder.

Clauses

The clauses for a flat query.

Columns

The columns of the query.

CreatedBy

The identity who created the query item.

CreatedDate

When the query item was created.

FilterOptions

The link query mode.

HasChildren

If this is a query folder, indicates if it contains any children.

Id

The id of the query item.

IsDeleted

Indicates if this query item is deleted. Setting this to false on a deleted query item will undelete it. Undeleting a query or folder will not bring back the permission changes that were previously applied to it.

IsFolder

Indicates if this is a query folder or a query.

IsInvalidSyntax

Indicates if the WIQL of this query is invalid. This could be due to invalid syntax or a no longer valid area/iteration path.

IsPublic

Indicates if this query item is public or private.

LastExecutedBy

The identity who last ran the query.

LastExecutedDate

When the query was last run.

LastModifiedBy

The identity who last modified the query item.

LastModifiedDate

When the query item was last modified.

LinkClauses

The link query clause.

Links

Link references to related REST resources.

(Inherited from WorkItemTrackingResource)
Name

The name of the query item.

Path

The path of the query item.

QueryRecursionOption

The recursion option for use in a tree query.

QueryType

The type of query.

SortColumns

The sort columns of the query.

SourceClauses

The source clauses in a tree or one-hop link query.

TargetClauses

The target clauses in a tree or one-hop link query.

Url (Inherited from WorkItemTrackingResourceReference)
Wiql

The WIQL text of the query

Applies to