Partager via


DocumentService.CreateQuery, méthode (TfsTeamProjectCollection, String, Boolean, String, Object)

Espace de noms :  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly :  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (dans Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IQueryDocument
retourne IQueryDocument ;

Sécurité .NET Framework

Voir aussi

Référence

DocumentService Classe

CreateQuery, surcharge

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking, espace de noms