Partilhar via


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

'Declaração
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.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.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace