Partager via


Classe HttpClientConnection100Class

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.HttpClientConnection100Class

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("02A32716-E885-4926-99AF-00A3B7784C93")> _
Public Class HttpClientConnection100Class _
    Implements IDTSHttpClientConnection100, HttpClientConnection100
'Utilisation
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

Le type HttpClientConnection100Class expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique HttpClientConnection100Class Infrastructure. Initializes a new instance of the HttpClientConnection100Class class.

Haut de la page

Propriétés

  Nom Description
Propriété publique BypassProxyOnLocal Infrastructure. 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.
Propriété publique Certificate Infrastructure. Gets or sets a byte array that represents the actual X.509 binary encoding of the certificate.
Propriété publique CertificateIdentifier Infrastructure. Gets or sets the X.509 certificate identifier.
Propriété publique ChunkSize Infrastructure. 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.
Propriété publique ProxyBypassList Infrastructure. Gets or sets the addresses that do not use a proxy server.
Propriété publique ProxyDomain Infrastructure. Gets or sets the domain setting that is used to log on to the proxy.
Propriété publique ProxyPassword Infrastructure. Sets the password used to log on to the proxy. This property is read-only.
Propriété publique ProxyURL Infrastructure. Gets or sets the URL that specifies the location of the proxy.
Propriété publique ProxyUserName Infrastructure. Gets or sets the username that is used when logging on to the proxy.
Propriété publique ServerDomain Infrastructure. Gets or sets the domain used to log on to the server.
Propriété publique ServerPassword Infrastructure. Sets the password used to log on to the server. This property is write-only.
Propriété publique ServerURL Infrastructure. Gets or sets the URL that specifies the location of the server.
Propriété publique ServerUserName Infrastructure. Gets or sets the username used to log on to the server.
Propriété publique Timeout Infrastructure. Gets or sets the number of seconds after which the HTTP operation times out.
Propriété publique UseProxy Infrastructure. Gets or sets a Boolean that indicates whether or not the connection will use a proxy.
Propriété publique UseProxyCredentials Infrastructure. Gets or sets a Boolean that indicates whether or not the connection will use network credentials.
Propriété publique UseSecureConnection Infrastructure. Gets or sets a Boolean that indicates whether the connection is HTTPS or HTTP.
Propriété publique UseServerCredentials Infrastructure. Gets or sets a Boolean that indicates whether the connection uses network credentials.

Haut de la page

Méthodes

  Nom Description
Méthode publique Clone Infrastructure. Returns a new connection object that has the exact same state as the one being cloned.
Méthode publique DownloadData Infrastructure. Returns a byte array that contains the data downloaded from the resource that was specified in the ServerURL property.
Méthode publique DownloadFile Infrastructure. Downloads data from the resource specified by ServerURL property to a local file.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetProxyPassword Infrastructure. Gets the proxy password.
Méthode publique GetServerPassword Infrastructure. Gets the server password.
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique OpenRead Infrastructure. Opens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.
Méthode publique ShowCertificateDialog Infrastructure. Displays the Windows certificate information dialog box.
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

For more information, see HttpClientConnection.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper