Partilhar via


Método FtpClientConnection.DeleteFiles

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Sub DeleteFiles ( _
    remoteFiles As String() _
)
'Uso
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[]
)

Parâmetros

  • remoteFiles
    Tipo: array<System.String[]
    The remote files to be deleted.

Comentários

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

Consulte também

Referência

FtpClientConnection Classe

Namespace Microsoft.SqlServer.Dts.Runtime