Metodo IDTSHttpClientConnection100.DownloadFile
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Downloads data from the resource specified by ServerURL property to a local file.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Sub DownloadFile ( _
FileName As String, _
vbOverwriteDestination As Boolean _
)
'Utilizzo
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
)
Parametri
- FileName
Tipo: System.String
The name of the local file into which the downloaded data is stored.
- vbOverwriteDestination
Tipo: System.Boolean
True to overwrite the existing file; otherwise, false.
Osservazioni
For more information, see HttpClientConnection100Class.