Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
[SerializableAttribute]
public sealed class HttpClientConnection : DtsObject, 
	IDTSPersist

The HttpClientConnection type exposes the following members.

  NameDescription
Public methodHttpClientConnectionInitializes a new instance of the HttpClientConnection class.
Top
  NameDescription
Public propertyBypassProxyOnLocalGets 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.
Public propertyCertificateGets or sets a byte array that represents the actual X.509 binary encoding of the certificate.
Public propertyCertificateIdentifierGets or sets the X.509 certificate identifier.
Public propertyChunkSizeGets or sets the value that indicates the minimum number of bytes to retrieve from or send to the server during a read/write operation.
Public propertyProxyBypassListGets or sets the addresses that do not use a proxy server.
Public propertyProxyDomainGets or sets the domain setting that is used to log on to the proxy.
Public propertyProxyPasswordSets the password used to log on to the proxy. This property is read-only.
Public propertyProxyURLGets or sets the URL that specifies the location of the proxy.
Public propertyProxyUserNameGets or sets the username that is used when logging on to the proxy.
Public propertyServerDomainGets or sets the domain used to log on to the server.
Public propertyServerPasswordSets the password used to log on to the server. This property is write-only.
Public propertyServerURLGets or sets the URL that specifies the location of the server.
Public propertyServerUserNameGets or sets the username used to log on to the server.
Public propertyTimeoutGets or sets the number of seconds after which the HTTP operation times out.
Public propertyUseProxyGets or sets a Boolean that indicates whether or not the connection will use a proxy.
Public propertyUseProxyCredentialsGets or sets a Boolean that indicates whether or not the connection will use network credentials.
Public propertyUseSecureConnectionGets or sets a Boolean that indicates whether the connection is HTTPS or HTTP.
Public propertyUseServerCredentialsGets or sets a Boolean that indicates whether the connection uses network credentials.
Top
  NameDescription
Public methodCloneReturns a new connection object that has the exact same state as the one being cloned.
Public methodDownloadDataReturns a byte array that contains the data downloaded from the resource that was specified in the ServerURL property.
Public methodDownloadFileDownloads data from the resource specified by ServerURL property to a local file.
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetProxyPasswordGets the proxy password.
Public methodGetServerPasswordGets the server password.
Public methodGetType (Inherited from Object.)
Public methodLoadFromXMLThis method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
Public methodOpenReadOpens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.
Public methodSaveToXMLThis method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
Public methodShowCertificateDialogDisplays the Windows certificate information dialog box.
Public methodToString (Inherited from Object.)
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.