你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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