次の方法で共有


FileSystemOperationsExtensions.DeleteAsync メソッド

定義

必要に応じて再帰的に、要求されたファイルまたはディレクトリを削除します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult> DeleteAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string filePath, bool? recursive = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult> DeleteAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, bool? recursive = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult>
static member DeleteAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult>
<Extension()>
Public Function DeleteAsync (operations As IFileSystemOperations, accountName As String, filePath As String, Optional recursive As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileOperationResult)
<Extension()>
Public Function DeleteAsync (operations As IFileSystemOperations, accountName As String, path As String, Optional recursive As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileOperationResult)

パラメーター

operations
IFileSystemOperations

この拡張メソッドの操作グループ。

accountName
String

ファイルシステム操作を実行する Azure Data Lake Store アカウント。

filePathpath
String

削除するファイルまたはディレクトリの Data Lake Store パス ('/' から始まる)。

recursive
Nullable<Boolean>

削除を再帰的にするかどうかを示すオプションのスイッチ

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象