Condividi tramite


FtpClientConnection.DeleteFiles Method

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

Spazio dei nomi: Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintassi

'Dichiarazione
Public Sub DeleteFiles ( _
    remoteFiles As String() _
)
public void DeleteFiles (
    string[] remoteFiles
)
public:
void DeleteFiles (
    array<String^>^ remoteFiles
)
public void DeleteFiles (
    String[] remoteFiles
)
public function DeleteFiles (
    remoteFiles : String[]
)

Parametri

  • remoteFiles
    The remote files to be deleted.

Osservazioni

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

FtpClientConnection Class
FtpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace