Compartilhar via


Método IDTSHttpClientConnection100.DownloadFile

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Sub DownloadFile ( _
    FileName As String, _
    vbOverwriteDestination As Boolean _
)
'Uso
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
)

Parâmetros

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

Comentários

For more information, see HttpClientConnection100Class.

Consulte também

Referência

IDTSHttpClientConnection100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper