IDTSFtpClientConnection100.ReceiveFiles 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Receives files from a remote location..

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

void ReceiveFiles(
    string[] remoteFileNames,
    string localPath,
    bool overWrite,
    bool transferASCII
)

參數

  • remoteFileNames
    型別:array<System.String[]
    The remote filename.
  • overWrite
    型別:System.Boolean
    True if the file will overwrite the existing file; otherwise, false.
  • transferASCII
    型別:System.Boolean
    True if the file transfers ASCII; otherwise, false.

請參閱

參考

IDTSFtpClientConnection100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間