Initializes a new instance of the WorkItemStore class that is connected to the specified TfsTeamProjectCollection instance.
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Sub New ( _
    teamProjectCollection As TfsTeamProjectCollection _
)
public WorkItemStore(
    TfsTeamProjectCollection teamProjectCollection
)
public:
WorkItemStore(
    TfsTeamProjectCollection^ teamProjectCollection
)
new : 
        teamProjectCollection:TfsTeamProjectCollection -> WorkItemStore
public function WorkItemStore(
    teamProjectCollection : TfsTeamProjectCollection
)
Parameters
- teamProjectCollection
 Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
 The server to connect to that is running Team Foundation Server.
Remarks
The connection information, credentials, and globalization information are contained in the TfsTeamProjectCollection 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.