This documentation is archived and is not being maintained.
WorkItemStore::GetQueryDefinition Method
Visual Studio 2013
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)
Parameters
- guid
- Type: System::Guid
The ID of the query definition.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::QueryDefinitionThe query definition.
| Exception | Condition |
|---|---|
| UnauthorizedAccessException | A query definition that has the specified GUID was not found. |
This API replaces GetStoredQuery.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: