QueryDefinition Class

Represents a query.

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.QueryItem
    Microsoft.TeamFoundation.WorkItemTracking.Client.QueryDefinition

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public sealed class QueryDefinition : QueryItem

The QueryDefinition type exposes the following members.

  NameDescription
Public methodQueryDefinition(String, String)Initializes a new QueryDefinition instance.
Public methodQueryDefinition(String, String, QueryFolder)Initializes a new QueryDefinition instance.
Top

  NameDescription
Public propertyAccessControlListGets the access control list for the query item. (Inherited from QueryItem.)
Public propertyIdGets the identifier of this query item. (Inherited from QueryItem.)
Public propertyIsDeletedGets a flag describing whether this item is a personal query or folder. (Inherited from QueryItem.)
Public propertyIsDirtyGets a flag describing whether this query item needs to be saved. (Inherited from QueryItem.)
Public propertyIsNewReturns 'true' if this query item is stored on the server, 'false' if it is a 'new' query item that has not been saved. (Inherited from QueryItem.)
Public propertyIsPersonalGets a flag describing whether this item is a personal query or folder. (Inherited from QueryItem.)
Public propertyNameGets or sets the name of this query item. (Inherited from QueryItem.)
Public propertyOwnerDescriptorGets or sets the identity descriptor of the owner of the query item. (Inherited from QueryItem.)
Public propertyParentGets the parent query folder. (Inherited from QueryItem.)
Public propertyPathGets the fully qualified path of this query item. (Inherited from QueryItem.)
Public propertyProjectGets the project to which this query item is associated. (Inherited from QueryItem.)
Public propertyQueryTextGets or sets the query text.
Public propertyQueryTypeGets the type of this query.
Top

  NameDescription
Public methodDeleteRemoves this item from the collection. (Inherited from QueryItem.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetQueryTypeGets the query type from the specified text.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified path to this query item. (Inherited from QueryItem.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft