DataLakeStoreFileSystemClient.DeleteFileOrFolder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the file or folder.
public bool DeleteFileOrFolder (string path, string accountName, bool isRecursive);
member this.DeleteFileOrFolder : string * string * bool -> bool
Public Function DeleteFileOrFolder (path As String, accountName As String, isRecursive As Boolean) As Boolean
Parameters
- path
- String
Path
- accountName
- String
Account name
- isRecursive
- Boolean
For directories if we want recursive delete
Returns
True if the delete is successful else false