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.
- remotePath
型別:System.String
The remote path.
- 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.