HttpClientConnection100Class 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含使包能够通过HTTP协议访问Web服务器发送或接收文件的属性和方法。 此类不能被继承。
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
- 继承
-
HttpClientConnection100Class
- 属性
- 实现
注解
有关详细信息,请参阅 HttpClientConnection。
构造函数
| 名称 | 说明 |
|---|---|
| HttpClientConnection100Class() |
初始化 HttpClientConnection100Class 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| BypassProxyOnLocal |
获取或设置一个布尔值,指示代理服务器是否配置使用凭证,绕过代理服务器,改用本地地址。 |
| Certificate |
获取或设置一个字节数组,代表证书的实际X.509二进制编码。 |
| CertificateIdentifier |
获取或设置 X.509 证书标识符。 |
| ChunkSize |
获取或设置表示读写操作中从服务器检索或发送的最小字节数的值。 |
| ProxyBypassList |
获取或设置不使用代理服务器的地址。 |
| ProxyDomain |
获取或设置用于登录代理的域设置。 |
| ProxyPassword |
设置登录代理时使用的密码。 此属性为只读。 |
| ProxyURL |
获取或设置指定代理位置的URL。 |
| ProxyUserName |
获取或设置登录代理时使用的用户名。 |
| ServerDomain |
获取或设置用于登录服务器的域。 |
| ServerPassword |
设置登录服务器时使用的密码。 该属性仅写入。 |
| ServerURL |
获取或设置指定服务器位置的URL。 |
| ServerUserName |
获取或设置用于登录服务器的用户名。 |
| Timeout |
获取或设置HTTP操作超时后的秒数。 |
| UseProxy |
获取或设置一个布尔值,指示连接是否使用代理。 |
| UseProxyCredentials |
获取或设置一个布尔值,指示连接是否使用网络凭证。 |
| UseSecureConnection |
获取或设置一个布尔值,指示连接是HTTPS还是HTTP。 |
| UseServerCredentials |
获取或设置一个布尔值,指示连接是否使用网络凭证。 |
方法
| 名称 | 说明 |
|---|---|
| Clone() |
返回一个与被克隆对象状态完全相同的新连接对象。 |
| DownloadData() |
返回一个字节数组,包含从属性中指定的 ServerURL 资源下载的数据。 |
| DownloadFile(String, Boolean) |
从属性 ServerURL 指定的资源中下载数据到本地文件。 |
| GetProxyPassword() |
拿到代理密码。 |
| GetServerPassword() |
获取服务器密码。 |
| OpenRead() |
打开一条可读的数据流,供从属性指定的 ServerURL 资源下载数据。 |
| ShowCertificateDialog(Int64) |
显示Windows证书信息对话框。 |