TfsTeamProjectCollectionFactory.GetTeamProjectCollection Method (RegisteredProjectCollection, ICredentialsProvider)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Note: This API is now obsolete.
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)
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See GetTeamProjectCollection(RegisteredProjectCollection) instead.", false)] public static TfsTeamProjectCollection GetTeamProjectCollection( RegisteredProjectCollection projectCollection, ICredentialsProvider fallbackCredentialsProvider )
- Type: Microsoft.TeamFoundation.Client.RegisteredProjectCollection
The RegisteredProjectCollection that contains information about the server.
- Type: Microsoft.TeamFoundation.Client.ICredentialsProvider
Return ValueType: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
The 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.