This documentation is archived and is not being maintained.

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)

public function WorkItemStore(
	teamFoundationServer : TeamFoundationServer
)

Parameters

teamFoundationServer
Type: Microsoft.TeamFoundation.Client.TeamFoundationServer

The server to connect to that is running Team Foundation Server.

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.

Show: