This documentation is archived and is not being maintained.
TfsTeamProjectCollectionFactory::GetTeamProjectCollection Method (RegisteredProjectCollection, ICredentialsProvider)
Visual Studio 2010
Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance and fallback credentials provider.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public: static TfsTeamProjectCollection^ GetTeamProjectCollection( RegisteredProjectCollection^ projectCollection, ICredentialsProvider^ fallbackCredentialsProvider )
Parameters
- projectCollection
- Type: Microsoft.TeamFoundation.Client::RegisteredProjectCollection
The RegisteredProjectCollection that contains information about the server.
- fallbackCredentialsProvider
- Type: Microsoft.TeamFoundation.Client::ICredentialsProvider
Return Value
Type: Microsoft.TeamFoundation.Client::TfsTeamProjectCollectionThe TfsTeamProjectCollection instance that is associated with the server that is described in the specified RegisteredProjectCollection.
- 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: