Partager via


Méthode IDTSHttpClientConnection100.DownloadFile

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Sub DownloadFile ( _
    FileName As String, _
    vbOverwriteDestination As Boolean _
)
'Utilisation
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
)

Paramètres

  • 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.

Notes

For more information, see HttpClientConnection100Class.

Voir aussi

Référence

IDTSHttpClientConnection100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper