Класс 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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.