This documentation is archived and is not being maintained.

VersionControlServer.GetBestProxies Method

Gets a list of recommended proxy servers returned in preferential order for the given site.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public List<ProxyInfo> GetBestProxies(
	string site


Type: System.String

The site to retrieve recommended proxies for.

Return Value

Type: System.Collections.Generic.List<ProxyInfo>
A list of ProxyInfo records corresponding to the best proxy matches for the given site, or an empty list if no recommended matches are found.