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.
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
[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 )
- 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.