Partager via


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

Remarque : cette API est maintenant obsolète.

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

Syntaxe

'Déclaration
<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 CreateQuery ( _
    teamFoundationServer As TeamFoundationServer, _
    teamProjectName As String, _
    publicQuery As Boolean, _
    queryText 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 CreateQuery(
    TeamFoundationServer teamFoundationServer,
    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