Export (0) Print
Expand All

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)

[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
)

Parameters

application
Type: Microsoft.TeamFoundation.Client.RegisteredConfigurationServer

The RegisteredConfigurationServer instance containing information about the server.

fallbackCredentialsProvider
Type: Microsoft.TeamFoundation.Client.ICredentialsProvider

The credentials provider to use if the environment does not already supply one.

Return Value

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

Show:
© 2014 Microsoft