Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WorkItemStore Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The WorkItemStore type exposes the following members.

  Name Description
Public method BatchSave(WorkItem[]) Commits multiple items in a branch and returns a list of errors if one or more items fail.
Public method BatchSave(WorkItem[], SaveFlags) Commits multiple items in a branch and returns a list of errors if one or more items fail.
Public method DestroyWorkItems Destroys work items that have the specified IDs.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method ExportGlobalLists Exports all data that is stored in the database global lists to an XmlDocument.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetQueryDefinition Gets a query definition that is identified by the specified GUID.
Public method GetReferencingWorkItemUris Gets an array of work item uniform resource identifiers (URIs) that point to the specified work item.
Public method GetStoredQuery Obsolete. Gets a stored query by GUID.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWorkItem(Int32) Gets the work item that has the specified ID.
Public method GetWorkItem(Uri) Gets the work item at the specified URI.
Public method GetWorkItem(Int32, DateTime) Gets the previous state of a work item that is specified by ID and date.
Public method GetWorkItem(Int32, Int32) Gets the previous state of a work item that is specified by ID and revision number.
Public method GetWorkItem(Uri, DateTime) Gets the work item state from a specific time for viewing.
Public method GetWorkItem(Uri, Int32) Gets the work item state from a specific revision for viewing.
Public method GetWorkItemIdsForArtifactUris A list of artifact links that are paired with their referencing work items.
Public method ImportGlobalLists(String) Imports specified global lists (in XML format) into the database.
Public method ImportGlobalLists(XmlElement) Imports global lists into the database.
Public method Query(String) Executes the query that is described in wiql and returns a collection of work items.
Public method Query(Int32[], String) Gets the set of fields that is referred to in wiql for the work items that are specified by an ID number (ids)..
Public method Query(String, IDictionary) Executes the query that is described in wiql and the parameters that are described in context.
Public method Query(BatchReadParameterCollection, String) Gets the set of fields that is referred to in Wiql for the work items that are specified by the ID/revision pairs in batchReadParams.
Public method Query(Int32[], Int32[], String) Gets the set of fields that is referred to in wiql for the work items that are specified by an ID number, ids, and revision (revs).
Public method Query(Int32[], String, DateTime) Gets the set of fields that is referred to in wiql for the work items that are specified by an ID number (ids) as of the date that is specified in asof.
Public method QueryCount(String) Gets the number of items that would be returned if the query was executed.
Public method QueryCount(String, IDictionary) Gets the number of items that would be returned if the query was executed.
Public method RefreshCache() Calls the back end to refresh cached metadata.
Public method RefreshCache(Boolean)
Public method SyncToCache Sync to the last version of the cache.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.