Sftp.RemoveDirectoryAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
RemoveDirectoryAsync(String, Object)
Begins asynchronous RemoveDirectory operation. Deletes an empty remote directory with the specified pathname.
Declaration
public Task RemoveDirectoryAsync(string remotePath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | Remote directory pathname. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |