HttpClientConnection100Class.DownloadFile Método
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Downloads data from the resource specified by ServerURL property to a local file.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado: Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxis
'Declaración
Public Overridable Sub DownloadFile ( _
FileName As String, _
vbOverwriteDestination As Boolean _
)
'Uso
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
)
Parámetros
- FileName
Tipo: System.String
The name of the local file into which the downloaded data is stored.
- vbOverwriteDestination
Tipo: System.Boolean
A Boolean that indicates whether to overwrite an existing file, if found. A value of true will overwrite the existing file.
Implementa
IDTSHttpClientConnection100.DownloadFile(String, Boolean)