Compartilhar via


Método TfsConfigurationServerFactory.GetConfigurationServer (RegisteredConfigurationServer, ICredentialsProvider)

Observação: esta API agora é obsoleta.

Obtém a instância de TfsConfigurationServer associada com a instância especificada de RegisteredConfigurationServer.

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 GetConfigurationServer(RegisteredConfigurationServer) instead.",  _
    False)> _
Public Shared Function GetConfigurationServer ( _
    application As RegisteredConfigurationServer, _
    fallbackCredentialsProvider As ICredentialsProvider _
) As TfsConfigurationServer
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See GetConfigurationServer(RegisteredConfigurationServer) instead.", 
    false)]
public static TfsConfigurationServer GetConfigurationServer(
    RegisteredConfigurationServer application,
    ICredentialsProvider fallbackCredentialsProvider
)

Parâmetros

Valor de retorno

Tipo: Microsoft.TeamFoundation.Client.TfsConfigurationServer
A instância de TfsConfigurationServer associada com o servidor descrito no RegisteredConfigurationServer especificado.

Segurança do .NET Framework

Consulte também

Referência

TfsConfigurationServerFactory Classe

Sobrecargas GetConfigurationServer

Namespace Microsoft.TeamFoundation.Client