Compartilhar via


Método DocumentService.CreateQuery (TfsTeamProjectCollection, String, Boolean, String, Object)

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

Sintaxe

'Declaração
Public Function CreateQuery ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    teamProjectName As String, _
    publicQuery As Boolean, _
    queryText As String, _
    lockToken As Object _
) As IQueryDocument
public IQueryDocument CreateQuery(
    TfsTeamProjectCollection teamProjectCollection,
    string teamProjectName,
    bool publicQuery,
    string queryText,
    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 CreateQuery

Namespace Microsoft.VisualStudio.TeamFoundation.WorkItemTracking