Compartilhar via


DataLakeStoreFileSystemClient.DeleteFileOrFolder Method

Definition

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

Applies to