FtpClientConnection.DeleteRemoteDirectory(String) 方法

定义

删除远程目录。

public:
 void DeleteRemoteDirectory(System::String ^ remoteDirectoryPath);
public void DeleteRemoteDirectory (string remoteDirectoryPath);
member this.DeleteRemoteDirectory : string -> unit
Public Sub DeleteRemoteDirectory (remoteDirectoryPath As String)

参数

remoteDirectoryPath
String

要删除的远程目录的路径。

示例

下面的代码示例演示调用 DeleteRemoteDirectory 方法时要使用的语法。

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

适用于