ReceiveFiles 方法
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Sub ReceiveFiles ( _
remoteFileNames As String(), _
localPath As String, _
overWrite As Boolean, _
transferASCII As Boolean _
)
'用途
Dim instance As FTPClientConnection100Class
Dim remoteFileNames As String()
Dim localPath As String
Dim overWrite As Boolean
Dim transferASCII As Boolean
instance.ReceiveFiles(remoteFileNames, _
localPath, overWrite, transferASCII)
public virtual void ReceiveFiles(
string[] remoteFileNames,
string localPath,
bool overWrite,
bool transferASCII
)
public:
virtual void ReceiveFiles(
[InAttribute] array<String^>^ remoteFileNames,
[InAttribute] String^ localPath,
[InAttribute] bool overWrite,
[InAttribute] bool transferASCII
)
abstract ReceiveFiles :
remoteFileNames:string[] *
localPath:string *
overWrite:bool *
transferASCII:bool -> unit
override ReceiveFiles :
remoteFileNames:string[] *
localPath:string *
overWrite:bool *
transferASCII:bool -> unit
public function ReceiveFiles(
remoteFileNames : String[],
localPath : String,
overWrite : boolean,
transferASCII : boolean
)
參數
- remoteFileNames
型別:array<System. . :: . .String> [] () [] []
- localPath
型別:System. . :: . .String
- overWrite
型別:System. . :: . .Boolean
- transferASCII
型別:System. . :: . .Boolean