This documentation is archived and is not being maintained.

WorkItemStore.GetQueryDefinition Method

Gets a query definition that is identified by the specified GUID.

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

public QueryDefinition GetQueryDefinition(
	Guid guid
)

Parameters

guid
Type: System.Guid

The ID of the query definition.

ExceptionCondition
UnauthorizedAccessException

A query definition that has the specified GUID was not found.

This API replaces GetStoredQuery.

Show: