Share via


IDTSHttpClientConnection100.DownloadFile Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub DownloadFile ( _
    FileName As String, _
    vbOverwriteDestination As Boolean _
)
'Usage
Dim instance As IDTSHttpClientConnection100 
Dim FileName As String 
Dim vbOverwriteDestination As Boolean

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

Parameters

  • FileName
    Type: System.String
    The name of the local file into which the downloaded data is stored.
  • vbOverwriteDestination
    Type: System.Boolean
    True to overwrite the existing file; otherwise, false.

Remarks

For more information, see HttpClientConnection100Class.

See Also

Reference

IDTSHttpClientConnection100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace