FtpClientConnection.DeleteRemoteDirectory(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除远程目录。
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/")