IDTSHttpClientConnection100.DownloadFile-Methode
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
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
)
Parameter
- FileName
Typ: System.String
The name of the local file into which the downloaded data is stored.
- vbOverwriteDestination
Typ: System.Boolean
True to overwrite the existing file; otherwise, false.
Hinweise
For more information, see HttpClientConnection100Class.