다음을 통해 공유


HttpClientConnection100Class.DownloadFile 메서드

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Downloads data from the resource specified by ServerURL property to a local file.

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

구문

‘선언
Public Overridable Sub DownloadFile ( _
    FileName As String, _
    vbOverwriteDestination As Boolean _
)
‘사용 방법
Dim instance As HttpClientConnection100Class 
Dim FileName As String 
Dim vbOverwriteDestination As Boolean

instance.DownloadFile(FileName, vbOverwriteDestination)
public virtual void DownloadFile(
    string FileName,
    bool vbOverwriteDestination
)
public:
virtual void DownloadFile(
    [InAttribute] String^ FileName, 
    [InAttribute] bool vbOverwriteDestination
)
abstract DownloadFile : 
        FileName:string * 
        vbOverwriteDestination:bool -> unit  
override DownloadFile : 
        FileName:string * 
        vbOverwriteDestination:bool -> unit
public function DownloadFile(
    FileName : String, 
    vbOverwriteDestination : boolean
)

매개 변수

  • FileName
    유형: System.String
    The name of the local file into which the downloaded data is stored.
  • vbOverwriteDestination
    유형: System.Boolean
    A Boolean that indicates whether to overwrite an existing file, if found. A value of true will overwrite the existing file.

구현

IDTSHttpClientConnection100.DownloadFile(String, Boolean)

참고 항목

참조

HttpClientConnection100Class 클래스

Microsoft.SqlServer.Dts.Runtime.Wrapper 네임스페이스