Export (0) Print
Expand All

HttpClientConnection Constructor

Initializes a new instance of the HttpClientConnection class.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public HttpClientConnection(
	Object unmanagedObject
)

Parameters

unmanagedObject
Type: System.Object
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));

Community Additions

ADD
Show:
© 2014 Microsoft