VersionControlServer.AddProxy Method (String, String)
Adds a new proxy server record.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub AddProxy ( _
url As String, _
friendlyName As String _
)
public void AddProxy(
string url,
string friendlyName
)
public:
void AddProxy(
String^ url,
String^ friendlyName
)
member AddProxy :
url:string *
friendlyName:string -> unit
public function AddProxy(
url : String,
friendlyName : String
)
Parameters
- url
Type: System.String
The URL of the proxy.
- friendlyName
Type: System.String
The name of the proxy server. This may be an empty string.
.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.