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)

Syntax

'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
[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
)
[ObsoleteAttribute(L"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
)
[<ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See GetTeamProjectCollection(RegisteredProjectCollection) instead.", 
    false)>]
static member GetTeamProjectCollection : 
        projectCollection:RegisteredProjectCollection * 
        fallbackCredentialsProvider:ICredentialsProvider -> TfsTeamProjectCollection
public static function GetTeamProjectCollection(
    projectCollection : RegisteredProjectCollection, 
    fallbackCredentialsProvider : ICredentialsProvider
) : TfsTeamProjectCollection

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

TfsTeamProjectCollectionFactory Class

GetTeamProjectCollection Overload

Microsoft.TeamFoundation.Client Namespace