Partilhar via


HttpClientConnection Members

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.

The following tables list the members exposed by the HttpClientConnection type.

Public Constructors

  Name Description
HttpClientConnection Initializes a new instance of the HttpClientConnection class.

Top

Public Properties

  Name Description
ms212647.pubproperty(en-US,SQL.90).gif BypassProxyOnLocal 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.
ms212647.pubproperty(en-US,SQL.90).gif Certificate Gets or sets a byte array that represents the actual X.509 binary encoding of the certificate.
ms212647.pubproperty(en-US,SQL.90).gif CertificateIdentifier Gets or sets the X.509 certificate identifier.
ms212647.pubproperty(en-US,SQL.90).gif ChunkSize 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.
ms212647.pubproperty(en-US,SQL.90).gif ProxyBypassList Gets or sets the addresses that do not use a proxy server.
ms212647.pubproperty(en-US,SQL.90).gif ProxyDomain Gets or sets the domain setting that is used to log on to the proxy.
ms212647.pubproperty(en-US,SQL.90).gif ProxyPassword Returns the password used to log on to the proxy. This property is read-only.
ms212647.pubproperty(en-US,SQL.90).gif ProxyURL Gets or sets the URL that specifies the location of the proxy.
ms212647.pubproperty(en-US,SQL.90).gif ProxyUserName Gets or sets the username that is used when logging on to the proxy.
ms212647.pubproperty(en-US,SQL.90).gif ServerDomain Gets or sets the domain used to log on to the server.
ms212647.pubproperty(en-US,SQL.90).gif ServerPassword Sets the password used to log on to the server. This property is write-only.
ms212647.pubproperty(en-US,SQL.90).gif ServerURL Gets or sets the URL that specifies the location of the server.
ms212647.pubproperty(en-US,SQL.90).gif ServerUserName Gets or sets the username used to log on to the server.
ms212647.pubproperty(en-US,SQL.90).gif Timeout Gets or sets the number of seconds after which the HTTP operation times out.
ms212647.pubproperty(en-US,SQL.90).gif UseProxy Gets or sets a Boolean that indicates whether or not the connection will use a proxy.
ms212647.pubproperty(en-US,SQL.90).gif UseProxyCredentials Gets or sets a Boolean that indicates whether or not the connection will use network credentials.
ms212647.pubproperty(en-US,SQL.90).gif UseSecureConnection Gets or sets a Boolean that indicates whether the connection is HTTPS or HTTP.
ms212647.pubproperty(en-US,SQL.90).gif UseServerCredentials Gets or sets a Boolean that indicates whether the connection uses network credentials.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms212647.pubmethod(en-US,SQL.90).gif Clone Returns a new connection object that has the exact same state as the one being cloned.
ms212647.pubmethod(en-US,SQL.90).gif DownloadData Returns a byte array that contains the data downloaded from the resource that was specified in the ServerURL property.
ms212647.pubmethod(en-US,SQL.90).gif DownloadFile Downloads data from the resource specified by ServerURL property to a local file.
ms212647.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms212647.pubmethod(en-US,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms212647.pubmethod(en-US,SQL.90).gif GetProxyPassword Gets the proxy password.
ms212647.pubmethod(en-US,SQL.90).gif GetServerPassword Gets the server password.
ms212647.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms212647.pubmethod(en-US,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms212647.pubmethod(en-US,SQL.90).gifms212647.static(en-US,SQL.90).gif op_Equality  (inherited from DtsObject )
ms212647.pubmethod(en-US,SQL.90).gifms212647.static(en-US,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms212647.pubmethod(en-US,SQL.90).gif OpenRead Opens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.
ms212647.pubmethod(en-US,SQL.90).gifms212647.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212647.pubmethod(en-US,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms212647.pubmethod(en-US,SQL.90).gif ShowCertificateDialog Displays the Windows certificate information dialog box.
ms212647.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms212647.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms212647.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

HttpClientConnection Class
Microsoft.SqlServer.Dts.Runtime Namespace