Bagikan melalui


HttpClientConnection Class

Contains properties and methods that enable a package to access a Web server using the HTTP protocol to send or receive files. This class cannot be inherited.

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class HttpClientConnection _
    Inherits DtsObject _
    Implements IDTSPersist
'Usage
Dim instance As HttpClientConnection
[SerializableAttribute]
public sealed class HttpClientConnection : DtsObject, 
    IDTSPersist
[SerializableAttribute]
public ref class HttpClientConnection sealed : public DtsObject, 
    IDTSPersist
[<SealedAttribute>]
[<SerializableAttribute>]
type HttpClientConnection =  
    class
        inherit DtsObject
        interface IDTSPersist
    end
public final class HttpClientConnection extends DtsObject implements IDTSPersist

Remarks

The HTTP connection manager allows packages to access resources over HTTP, allowing tasks such as extracting data from a Web service and operating on it. The HTTP connection manager encapsulates the functionality of creating and maintaining a HTTP connection. The HTTP connection manager includes custom properties, in addition to the properties that are common to all connection managers. The HTTP connection manager provides the runtime with a connection to a HTTP server that acts as a source. When you create an HTTP connection manager, you can specify properties specific to that connection and test to see if the connection is alive. After the connection has been created, the connection can be used by various tasks in the runtime.

This class inherits from DtsObject and implements IDTSPersist.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.HttpClientConnection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.