This documentation is archived and is not being maintained.

TfsTeamProjectCollectionFactory::GetTeamProjectCollection Method (RegisteredProjectCollection)

Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
static TfsTeamProjectCollection^ GetTeamProjectCollection(
	RegisteredProjectCollection^ projectCollection
)

Parameters

projectCollection
Type: Microsoft.TeamFoundation.Client::RegisteredProjectCollection

The RegisteredProjectCollection that contains information about the server.

Return Value

Type: Microsoft.TeamFoundation.Client::TfsTeamProjectCollection
The TfsTeamProjectCollection instance that is associated with the server that is described in the specified RegisteredProjectCollection.

Show: