HttpClientConnection100Class.DownloadFile(String, Boolean) Method

Definition

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

public:
 virtual void DownloadFile(System::String ^ FileName, bool vbOverwriteDestination) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSHttpClientConnection100::DownloadFile;
[System.Runtime.InteropServices.DispId(21)]
public virtual void DownloadFile (string FileName, bool vbOverwriteDestination);
[<System.Runtime.InteropServices.DispId(21)>]
abstract member DownloadFile : string * bool -> unit
override this.DownloadFile : string * bool -> unit
Public Overridable Sub DownloadFile (FileName As String, vbOverwriteDestination As Boolean)

Parameters

FileName
String

The name of the local file into which the downloaded data is stored.

vbOverwriteDestination
Boolean

A Boolean that indicates whether to overwrite an existing file, if found. A value of true will overwrite the existing file.

Implements

Attributes

Applies to