Partager via


FtpClientConnection.DeleteRemoteDirectory Method

Deletes a remote directory.

Espace de noms: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • remoteDirectoryPath
    The path of the remote directory to delete.

Exemple

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

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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