Partager via


DocumentService.GetQuery Method (TfsTeamProjectCollection, String, Object)

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

Syntax

'Declaration
Public Function GetQuery ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    queryId As String, _
    lockToken As Object _
) As IQueryDocument
public IQueryDocument GetQuery(
    TfsTeamProjectCollection teamProjectCollection,
    string queryId,
    Object lockToken
)
public:
IQueryDocument^ GetQuery(
    TfsTeamProjectCollection^ teamProjectCollection, 
    String^ queryId, 
    Object^ lockToken
)
member GetQuery : 
        teamProjectCollection:TfsTeamProjectCollection * 
        queryId:string * 
        lockToken:Object -> IQueryDocument
public function GetQuery(
    teamProjectCollection : TfsTeamProjectCollection, 
    queryId : String, 
    lockToken : Object
) : IQueryDocument

Parameters

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IQueryDocument
Returns IQueryDocument.

.NET Framework Security

See Also

Reference

DocumentService Class

GetQuery Overload

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace