Freigeben über


HttpClientConnection Constructor

Initializes a new instance of the HttpClientConnection class.

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

Syntax

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

Parameter

  • unmanagedObject
    The unmanaged object.

Beispiel

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))

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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