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

DataLakeFileSystemClient.UndeletePath 方法

定义

还原软删除的路径。

public virtual Azure.Response<Azure.Storage.Files.DataLake.DataLakePathClient> UndeletePath (string deletedPath, string deletionId, System.Threading.CancellationToken cancellationToken = default);
abstract member UndeletePath : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.DataLakePathClient>
override this.UndeletePath : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.DataLakePathClient>
Public Overridable Function UndeletePath (deletedPath As String, deletionId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataLakePathClient)

参数

deletedPath
String

必需。 已删除路径的路径。

deletionId
String

必需。 与软删除路径关联的删除 ID。 可以使用 获取软删除路径及其删除 ID GetDeletedPathsAsync(String, CancellationToken)

cancellationToken
CancellationToken

可选 CancellationToken ,用于传播应取消操作的通知。

返回

指向 Response<T> 新还原路径的 。

注解

RequestFailedException如果发生故障,将引发 。

适用于