共用方式為


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

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

See Also

Reference

WorkItemStore Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace