共用方式為


DeleteFiles 方法

Deletes the specified files from the File Transfer Protocol (FTP) server.

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

語法

'宣告
Public Sub DeleteFiles ( _
    remoteFiles As String() _
)
'用途
Dim instance As FtpClientConnection
Dim remoteFiles As String()

instance.DeleteFiles(remoteFiles)
public void DeleteFiles(
    string[] remoteFiles
)
public:
void DeleteFiles(
    array<String^>^ remoteFiles
)
member DeleteFiles : 
        remoteFiles:string[] -> unit 
public function DeleteFiles(
    remoteFiles : String[]
)

參數

備註

Wild-card characters are allowed. For example, /MyFolder/MyFiles*.* will delete all files in the MyFolder directory that start with the characters MyFiles.