Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TfsTeamProjectCollectionFactory.GetTeamProjectCollection Method (RegisteredProjectCollection, ICredentialsProvider)

Note: This API is now obsolete.

Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance and fallback credentials provider.

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

'Declaration
<ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See GetTeamProjectCollection(RegisteredProjectCollection) instead.",  _
	False)> _
Public Shared Function GetTeamProjectCollection ( _
	projectCollection As RegisteredProjectCollection, _
	fallbackCredentialsProvider As ICredentialsProvider _
) As TfsTeamProjectCollection

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.TfsTeamProjectCollection
The TfsTeamProjectCollection instance that is associated with the server that is described in the specified RegisteredProjectCollection.

Show:
© 2015 Microsoft