언어

HttpClientConnection.ProxyURL 속성

정의

프록시 위치를 지정하는 URL을 받거나 설정합니다.

public:
 property System::String ^ ProxyURL { System::String ^ get(); void set(System::String ^ value); };
public string ProxyURL { get; set; }
member this.ProxyURL : string with get, set
Public Property ProxyURL As String

속성 값

프록시의 URL 위치를 포함하는 문자열입니다.

예제

다음 코드 예시는 패키지에 대한 HTTP 연결을 생성하고 클라이언트 연결을 생성하는 방법을 보여줍니다. 그 후 여러 속성을 설정합니다.ProxyURL

// Create an HTTP connection.  
ConnectionManager httpConn = pkg.Connections.Add("HTTP");  
HttpClientConnection clientConn = new   
           HttpClientConnection(httpConn.AcquireConnection(null));  
string HTTPUrl = @"http://<yourserver>/<yourfolder>/test.asmx?wsdl";  
clientConn.UseProxy = true;  
clientConn.ProxyURL = @"http://<yourproxy>";  
clientConn.BypassProxyOnLocal = true;  
clientConn.ServerURL = HTTPUrl;  
' Create an HTTP connection.  
Dim httpConn As ConnectionManager =  pkg.Connections.Add("HTTP")   
HttpClientConnection clientConn = New   
           HttpClientConnection(httpConn.AcquireConnection(Nothing))  
Dim HTTPUrl As String =  "http:// <yourserver>/<yourfolder>/test.asmx?wsdl"   
clientConn.UseProxy = True  
clientConn.ProxyURL = "http://<yourproxy>"  
clientConn.BypassProxyOnLocal = True  
clientConn.ServerURL = HTTPUrl  

적용 대상