HttpClientConnection 클래스

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. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..HttpClientConnection

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
<SerializableAttribute> _
Public NotInheritable Class HttpClientConnection _
    Inherits DtsObject _
    Implements IDTSPersist
‘사용 방법
Dim instance As HttpClientConnection
[SerializableAttribute]
public sealed class HttpClientConnection : DtsObject, 
    IDTSPersist
[SerializableAttribute]
public ref class HttpClientConnection sealed : public DtsObject, 
    IDTSPersist
[<SealedAttribute>]
[<SerializableAttribute>]
type HttpClientConnection =  
    class
        inherit DtsObject
        interface IDTSPersist
    end
public final class HttpClientConnection extends DtsObject implements IDTSPersist

HttpClientConnection 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 HttpClientConnection Initializes a new instance of the HttpClientConnection 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 Returns 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 Determines whether two object instances are equal. (DtsObject에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode Returns the hash code for this instance. (DtsObject에서 상속됨)
공용 메서드 GetProxyPassword Gets the proxy password.
공용 메서드 GetServerPassword Gets the server password.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 OpenRead Opens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.
공용 메서드 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
공용 메서드 ShowCertificateDialog Displays the Windows certificate information dialog box.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

The HTTP connection manager allows packages to access resources over HTTP, allowing tasks such as extracting data from a Web service and operating on it. The HTTP connection manager encapsulates the functionality of creating and maintaining a HTTP connection. The HTTP connection manager includes custom properties, in addition to the properties that are common to all connection managers. The HTTP connection manager provides the runtime with a connection to a HTTP server that acts as a source. When you create an HTTP connection manager, you can specify properties specific to that connection and test to see if the connection is alive. After the connection has been created, the connection can be used by various tasks in the runtime.

This class inherits from DtsObject and implements IDTSPersist.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.