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)
Syntax
'Declaration
Public Function GetBestProxies ( _
site As String _
) As List(Of ProxyInfo)
public List<ProxyInfo> GetBestProxies(
string site
)
public:
List<ProxyInfo^>^ GetBestProxies(
String^ site
)
member GetBestProxies :
site:string -> List<ProxyInfo>
public function GetBestProxies(
site : String
) : List<ProxyInfo>
Parameters
site
Type: System.StringThe 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.