DocumentService.ContainsWorkItem Method (TeamFoundationServer, Int32)

Note: This API is now obsolete.

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

Syntax

'Declaration
<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
)
[ObsoleteAttribute(L"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
)
[<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")>]
member ContainsWorkItem : 
        teamFoundationServer:TeamFoundationServer * 
        id:int -> bool
public function ContainsWorkItem(
    teamFoundationServer : TeamFoundationServer, 
    id : int
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

DocumentService Class

ContainsWorkItem Overload

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace