Share via


VersionControlServer.GetBestProxies 方法

获取按给定站点的优先级返回的建议使用代理服务器的列表。

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
Public Function GetBestProxies ( _
    site As String _
) As List(Of ProxyInfo)
public List<ProxyInfo> GetBestProxies(
    string site
)

参数

返回值

类型:System.Collections.Generic.List<ProxyInfo>
ProxyInfo 记录列表具有最好的代理适合给定站点匹配,则返回 null 列表中,如果未找到建议的匹配。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

Microsoft.TeamFoundation.VersionControl.Client 命名空间