WorkItemStore.GetStoredQuery Method
Note: This API is now obsolete.
Gets a stored query by GUID.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'宣告
<ObsoleteAttribute("Please use GetQueryDefinition instead")> _
Public Function GetStoredQuery ( _
guid As Guid _
) As StoredQuery
[ObsoleteAttribute("Please use GetQueryDefinition instead")]
public StoredQuery GetStoredQuery(
Guid guid
)
[ObsoleteAttribute(L"Please use GetQueryDefinition instead")]
public:
StoredQuery^ GetStoredQuery(
Guid guid
)
[<ObsoleteAttribute("Please use GetQueryDefinition instead")>]
member GetStoredQuery :
guid:Guid -> StoredQuery
public function GetStoredQuery(
guid : Guid
) : StoredQuery
Parameters
- guid
Type: System.Guid
The GUID of the query to get.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.StoredQuery
The query instance that is associated with the specified GUID.
Remarks
This API is obsolete and is included for backward compatibility only. Future implementations should use GetQueryDefinition.
.NET Framework Security
- 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.