TeamFoundationVersionControlService.AddProxy Method
Adds a new proxy server record with the given parameters.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Sub AddProxy ( _
requestContext As TeamFoundationRequestContext, _
proxy As ProxyInfo _
)
public void AddProxy(
TeamFoundationRequestContext requestContext,
ProxyInfo proxy
)
public:
void AddProxy(
TeamFoundationRequestContext^ requestContext,
ProxyInfo^ proxy
)
member AddProxy :
requestContext:TeamFoundationRequestContext *
proxy:ProxyInfo -> unit
public function AddProxy(
requestContext : TeamFoundationRequestContext,
proxy : ProxyInfo
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
proxy
Type: Microsoft.TeamFoundation.VersionControl.Server.ProxyInfoThe proxy record to add.
.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.