共用方式為


HttpClientConnection100Class Class

Definition

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.

public ref class HttpClientConnection100Class : Microsoft::SqlServer::Dts::Runtime::Wrapper::HttpClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("82DD84C6-3531-4B5E-9D79-EA05DA4E7DD3")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class HttpClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.HttpClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("FA05286C-CC47-4B70-AA0C-55F56F3DBC5B")]
public class HttpClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.HttpClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("93EA4743-731F-4151-965F-BC21BE768453")]
public class HttpClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.HttpClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("82DD84C6-3531-4B5E-9D79-EA05DA4E7DD3")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type HttpClientConnection100Class = class
    interface IDTSHttpClientConnection100
    interface HttpClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("FA05286C-CC47-4B70-AA0C-55F56F3DBC5B")>]
type HttpClientConnection100Class = class
    interface IDTSHttpClientConnection100
    interface HttpClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("93EA4743-731F-4151-965F-BC21BE768453")>]
type HttpClientConnection100Class = class
    interface IDTSHttpClientConnection100
    interface HttpClientConnection100
Public Class HttpClientConnection100Class
Implements HttpClientConnection100
Inheritance
HttpClientConnection100Class
Attributes
Implements

Remarks

For more information, see HttpClientConnection.

Constructors

HttpClientConnection100Class()

Initializes a new instance of the HttpClientConnection100Class class.

Properties

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.

Certificate

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

CertificateIdentifier

Gets or sets the X.509 certificate identifier.

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.

ProxyBypassList

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

ProxyDomain

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

ProxyPassword

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

ProxyURL

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

ProxyUserName

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

ServerDomain

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

ServerPassword

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

ServerURL

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

ServerUserName

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

Timeout

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

UseProxy

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

UseProxyCredentials

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

UseSecureConnection

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

UseServerCredentials

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

Methods

Clone()

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

DownloadData()

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

DownloadFile(String, Boolean)

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

GetProxyPassword()

Gets the proxy password.

GetServerPassword()

Gets the server password.

OpenRead()

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

ShowCertificateDialog(Int64)

Displays the Windows certificate information dialog box.

Applies to