Dart.Ssh Namespace > Sftp Class : RemoveDirectory Method |
'Declaration Public Function RemoveDirectory( _ ByVal directoryPath As String _ ) As RemoveResult()
'Usage Dim instance As Sftp Dim directoryPath As String Dim value() As RemoveResult value = instance.RemoveDirectory(directoryPath)
public RemoveResult[] RemoveDirectory( string directoryPath )
public: RemoveResult*[]* RemoveDirectory( string* directoryPath )
public: array<RemoveResult^>^ RemoveDirectory( String^ directoryPath )
This method will not throw an exception under error conditions. Instead, check the Exception property of each returned RemoveResult.
If removal of non-empty directories is not desired, use List to check for subfolders or files.