Compartilhar via


Método TfsTeamProjectCollectionFactory.GetTeamProjectCollection (RegisteredProjectCollection, ICredentialsProvider)

Observação: esta API agora é obsoleta.

Obtém a instância de TfsTeamProjectCollection que está associada com o provedor especificado de credenciais de instância e retorno de RegisteredProjectCollection.

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

Sintaxe

'Declaração
<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
)

Parâmetros

Valor de retorno

Tipo: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
A instância de TfsTeamProjectCollection que está associada com o servidor que é descrito em RegisteredProjectCollection especificado.

Segurança do .NET Framework

Consulte também

Referência

TfsTeamProjectCollectionFactory Classe

Sobrecargas GetTeamProjectCollection

Namespace Microsoft.TeamFoundation.Client