共用方式為


HttpClientConnection Constructor

Initializes a new instance of the HttpClientConnection class.

命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

語法

'宣告
Public Sub New ( _
    unmanagedObject As Object _
)
public HttpClientConnection (
    Object unmanagedObject
)
public:
HttpClientConnection (
    Object^ unmanagedObject
)
public HttpClientConnection (
    Object unmanagedObject
)
public function HttpClientConnection (
    unmanagedObject : Object
)

參數

  • unmanagedObject
    The unmanaged object.

範例

The following code example shows how to create an HTTP connection for a package and create a client connection.

// Create an HTTP connection.
Package pkg = new Package();
ConnectionManager httpConn = pkg.Connections.Add("HTTP");
HttpClientConnection clientConn = new HttpClientConnection(httpConn.AcquireConnection(null));
' Create an HTTP connection.
Dim pkg As Package =  New Package() 
Dim httpConn As ConnectionManager =  pkg.Connections.Add("HTTP") 
Dim clientConn As HttpClientConnection =  New HttpClientConnection(httpConn.AcquireConnection(Nothing))

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

HttpClientConnection Class
HttpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace