Partager via


VersionControlServer.GetProxies Method (array<String )

Gets an array of proxy server records based on the specified URLs.

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

Syntax

'Déclaration
Public Function GetProxies ( _
    proxyUrls As String() _
) As ProxyInfo()
public ProxyInfo[] GetProxies(
    string[] proxyUrls
)
public:
array<ProxyInfo^>^ GetProxies(
    array<String^>^ proxyUrls
)
member GetProxies : 
        proxyUrls:string[] -> ProxyInfo[] 
public function GetProxies(
    proxyUrls : String[]
) : ProxyInfo[]

Parameters

  • proxyUrls
    Type: array<System.String[]
    An array of proxy server URLs.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.ProxyInfo[]
An array of ProxyInfo records for all known proxies configured for the server.

Remarks

If a proxy cannot be found for a specific URL then the corresponding element in the returned array will be null.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetProxies Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace