This documentation is archived and is not being maintained.
TfsTeamProjectCollection Constructor (RegisteredProjectCollection, IdentityDescriptor)
Visual Studio 2010
Initializes a new instance of the TfsTeamProjectCollection class.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public:
TfsTeamProjectCollection(
RegisteredProjectCollection^ projectCollection,
IdentityDescriptor^ identityToImpersonate
)
Parameters
- projectCollection
- Type: Microsoft.TeamFoundation.Client::RegisteredProjectCollection
A registered Team Project collection.
- identityToImpersonate
- Type: Microsoft.TeamFoundation.Framework.Client::IdentityDescriptor
The identity to impersonate.
- 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.
Show: