IDTSFtpClientConnection100.SendFiles 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Send files to a remote location.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Sub SendFiles ( _
    localFileNames As String(), _
    remotePath As String, _
    overWrite As Boolean, _
    transferASCII As Boolean _
)
用法
Dim instance As IDTSFtpClientConnection100 
Dim localFileNames As String()
Dim remotePath As String 
Dim overWrite As Boolean 
Dim transferASCII As Boolean

instance.SendFiles(localFileNames, remotePath, _
    overWrite, transferASCII)
void SendFiles(
    string[] localFileNames,
    string remotePath,
    bool overWrite,
    bool transferASCII
)
void SendFiles(
    [InAttribute] array<String^>^ localFileNames, 
    [InAttribute] String^ remotePath, 
    [InAttribute] bool overWrite, 
    [InAttribute] bool transferASCII
)
abstract SendFiles : 
        localFileNames:string[] * 
        remotePath:string * 
        overWrite:bool * 
        transferASCII:bool -> unit
function SendFiles(
    localFileNames : String[], 
    remotePath : String, 
    overWrite : boolean, 
    transferASCII : boolean
)

参数

  • localFileNames
    类型:array<System.String[]
    The local file name.
  • 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 命名空间