HttpClientConnection100Class 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

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.Wrapper.HttpClientConnection100Class

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("02A32716-E885-4926-99AF-00A3B7784C93")> _
Public Class HttpClientConnection100Class _
    Implements IDTSHttpClientConnection100, HttpClientConnection100
用法
Dim instance As HttpClientConnection100Class
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("02A32716-E885-4926-99AF-00A3B7784C93")]
public class HttpClientConnection100Class : IDTSHttpClientConnection100, 
    HttpClientConnection100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"02A32716-E885-4926-99AF-00A3B7784C93")]
public ref class HttpClientConnection100Class : IDTSHttpClientConnection100, 
    HttpClientConnection100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("02A32716-E885-4926-99AF-00A3B7784C93")>]
type HttpClientConnection100Class =  
    class 
        interface IDTSHttpClientConnection100 
        interface HttpClientConnection100 
    end
public class HttpClientConnection100Class implements IDTSHttpClientConnection100, HttpClientConnection100

HttpClientConnection100Class 类型公开以下成员。

构造函数

  名称 说明
公共方法 HttpClientConnection100Class 基础结构。Initializes a new instance of the HttpClientConnection100Class class.

页首

属性

  名称 说明
公共属性 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.

页首

方法

  名称 说明
公共方法 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 基础结构。Downloads data from the resource specified by ServerURL property to a local file.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetProxyPassword 基础结构。Gets the proxy password.
公共方法 GetServerPassword 基础结构。Gets the server password.
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 OpenRead 基础结构。Opens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.
公共方法 ShowCertificateDialog 基础结构。Displays the Windows certificate information dialog box.
公共方法 ToString (从 Object 继承。)

页首

注释

For more information, see HttpClientConnection.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间