HttpClientConnection Class
TOC
Collapse the table of content
Expand the table of content

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)

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

[SerializableAttribute]
public sealed class HttpClientConnection : DtsObject, IDTSPersist

NameDescription
System_CAPS_pubmethodHttpClientConnection(Object)

Initializes a new instance of the HttpClientConnection class.

NameDescription
System_CAPS_pubpropertyBypassProxyOnLocal

Gets or sets a Boolean that indicates if the proxy server is configured to use credentials and bypass the proxy server and use local addresses instead.

System_CAPS_pubpropertyCertificate

Gets or sets a byte array that represents the actual X.509 binary encoding of the certificate.

System_CAPS_pubpropertyCertificateIdentifier

Gets or sets the X.509 certificate identifier.

System_CAPS_pubpropertyChunkSize

Gets or sets the value that indicates the minimum number of bytes to retrieve from or send to the server during a read/write operation.

System_CAPS_pubpropertyProxyBypassList

Gets or sets the addresses that do not use a proxy server.

System_CAPS_pubpropertyProxyDomain

Gets or sets the domain setting that is used to log on to the proxy.

System_CAPS_pubpropertyProxyPassword

Sets the password used to log on to the proxy. This property is read-only.

System_CAPS_pubpropertyProxyURL

Gets or sets the URL that specifies the location of the proxy.

System_CAPS_pubpropertyProxyUserName

Gets or sets the username that is used when logging on to the proxy.

System_CAPS_pubpropertyServerDomain

Gets or sets the domain used to log on to the server.

System_CAPS_pubpropertyServerPassword

Sets the password used to log on to the server. This property is write-only.

System_CAPS_pubpropertyServerURL

Gets or sets the URL that specifies the location of the server.

System_CAPS_pubpropertyServerUserName

Gets or sets the username used to log on to the server.

System_CAPS_pubpropertyTimeout

Gets or sets the number of seconds after which the HTTP operation times out.

System_CAPS_pubpropertyUseProxy

Gets or sets a Boolean that indicates whether or not the connection will use a proxy.

System_CAPS_pubpropertyUseProxyCredentials

Gets or sets a Boolean that indicates whether or not the connection will use network credentials.

System_CAPS_pubpropertyUseSecureConnection

Gets or sets a Boolean that indicates whether the connection is HTTPS or HTTP.

System_CAPS_pubpropertyUseServerCredentials

Gets or sets a Boolean that indicates whether the connection uses network credentials.

NameDescription
System_CAPS_pubmethodClone()

Returns a new connection object that has the exact same state as the one being cloned.

System_CAPS_pubmethodDownloadData()

Returns a byte array that contains the data downloaded from the resource that was specified in the ServerURL property.

System_CAPS_pubmethodDownloadFile(String, Boolean)

Downloads data from the resource specified by ServerURL property to a local file.

System_CAPS_pubmethodEquals(Object)

Determines whether two object instances are equal.(Inherited from DtsObject.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from DtsObject.)

System_CAPS_pubmethodGetProxyPassword()

Gets the proxy password.

System_CAPS_pubmethodGetServerPassword()

Gets the server password.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoadFromXML(XmlNode, IDTSEvents)

This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.

System_CAPS_pubmethodOpenRead()

Opens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.

System_CAPS_pubmethodSaveToXML(XmlDocument, XmlNode, IDTSEvents)

This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.

System_CAPS_pubmethodShowCertificateDialog(IntPtr)

Displays the Windows certificate information dialog box.

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

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

Return to top
Show:
© 2016 Microsoft