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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。