Поделиться через


Метод 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