TfsConfigurationServerFactory.GetConfigurationServer Method (RegisteredConfigurationServer, ICredentialsProvider)

Note: This API is now obsolete.

Gets the TfsConfigurationServer instance associated with the specified RegisteredConfigurationServer instance.

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

Parameters

Return Value

Type: Microsoft.TeamFoundation.Client.TfsConfigurationServer
The TfsConfigurationServer instance associated with the server described in the specified RegisteredConfigurationServer.

.NET Framework Security

See Also

Reference

TfsConfigurationServerFactory Class

GetConfigurationServer Overload

Microsoft.TeamFoundation.Client Namespace