WorkItemStore Constructor (TeamFoundationServer)

Note: This API is now obsolete.

Initializes a new instance of the WorkItemStore class that is connected to the specified TeamFoundationServer instance.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.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 Sub New ( _
    teamFoundationServer As TeamFoundationServer _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public WorkItemStore(
    TeamFoundationServer teamFoundationServer
)
[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:
WorkItemStore(
    TeamFoundationServer^ teamFoundationServer
)
[<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")>]
new : 
        teamFoundationServer:TeamFoundationServer -> WorkItemStore
public function WorkItemStore(
    teamFoundationServer : TeamFoundationServer
)

Parameters

Remarks

This API is obsolete and is included for backward compatibility. Future implementations should use the WorkItemStore.WorkItemStore(TfsTeamProjectCollection) constructor and revise related infrastructure to use TfsTeamProjectCollection instead of TeamFoundationServer. The connection information, credentials, and globalization information are contained in the TeamFoundationServer object.

.NET Framework Security

See Also

Reference

WorkItemStore Class

WorkItemStore Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace