Condividi tramite


FtpClientConnection.DeleteRemoteDirectory Method

Deletes a remote directory.

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

Sintassi

'Dichiarazione
Public Sub DeleteRemoteDirectory ( _
    remoteDirectoryPath As String _
)
public void DeleteRemoteDirectory (
    string remoteDirectoryPath
)
public:
void DeleteRemoteDirectory (
    String^ remoteDirectoryPath
)
public void DeleteRemoteDirectory (
    String remoteDirectoryPath
)
public function DeleteRemoteDirectory (
    remoteDirectoryPath : String
)

Parametri

  • remoteDirectoryPath
    The path of the remote directory to delete.

Esempio

The following code example shows the syntax to use when calling the DeleteRemoteDirectory method.

ftpClientConnection.DeleteRemoteDirectory(@"/myDir/mySubDir/");
ftpClientConnection. DeleteRemoteDirectory("/myDir/mySubDir/")

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