FileSystemOperationsExtensions.Delete Method (IFileSystemOperations, String, String, Boolean)
Deletes the requested file or folder, optionally recursively.
Namespace: Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly: Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)
Syntax
public static FileOperationResultResponse Delete(
this IFileSystemOperations operations,
string filePath,
string accountName,
bool recursive
)
public:
[ExtensionAttribute]
static FileOperationResultResponse^ Delete(
IFileSystemOperations^ operations,
String^ filePath,
String^ accountName,
bool recursive
)
static member Delete :
operations:IFileSystemOperations *
filePath:string *
accountName:string *
recursive:bool -> FileOperationResultResponse
<ExtensionAttribute>
Public Shared Function Delete (
operations As IFileSystemOperations,
filePath As String,
accountName As String,
recursive As Boolean
) As FileOperationResultResponse
Parameters
operations
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperationsReference to the Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperations.
filePath
Type: System.StringRequired. The path to the file or folder to delete.
accountName
Type: System.StringRequired. The name of the account to use
recursive
Type: System.BooleanRequired. The optional switch indicating if the delete should be recursive
Return Value
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.Models.FileOperationResultResponse
The result of the request or operation.
See Also
FileSystemOperationsExtensions Class
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top