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
- teamFoundationServer
Type: Microsoft.TeamFoundation.Client.TeamFoundationServer
The server to connect to that is running Team Foundation Server.
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
- 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.