Partager via


DocumentService.ContainsWorkItem, méthode (TeamFoundationServer, Int32)

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 ContainsWorkItem ( _
    teamFoundationServer As TeamFoundationServer, _
    id As Integer _
) As Boolean
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public bool ContainsWorkItem(
    TeamFoundationServer teamFoundationServer,
    int id
)

Paramètres

Valeur de retour

Type : System.Boolean
retourne Boolean ;

Sécurité .NET Framework

Voir aussi

Référence

DocumentService Classe

ContainsWorkItem, surcharge

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking, espace de noms