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  

適用対象