Partilhar via


Método DocumentService.GetQuery (TeamFoundationServer, String, Object)

Observação: esta API agora é obsoleta.

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

Sintaxe

'Declaração
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")> _
Public Function GetQuery ( _
    teamFoundationServer As TeamFoundationServer, _
    queryId As String, _
    lockToken As Object _
) As IQueryDocument
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public IQueryDocument GetQuery(
    TeamFoundationServer teamFoundationServer,
    string queryId,
    Object lockToken
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IQueryDocument
Retorna IQueryDocument.

Segurança do .NET Framework

Consulte também

Referência

DocumentService Classe

Sobrecargas GetQuery

Namespace Microsoft.VisualStudio.TeamFoundation.WorkItemTracking