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

MockAdlsClient.RestoreDeletedItems 方法

定义

同步还原回收站条目

public override void RestoreDeletedItems (string pathOfFileToRestoreInTrash, string restoreDestination, string type, string restoreAction = "", System.Threading.CancellationToken cancelToken = default);
override this.RestoreDeletedItems : string * string * string * string * System.Threading.CancellationToken -> unit
Public Overrides Sub RestoreDeletedItems (pathOfFileToRestoreInTrash As String, restoreDestination As String, type As String, Optional restoreAction As String = "", Optional cancelToken As CancellationToken = Nothing)

参数

pathOfFileToRestoreInTrash
String

enumeratedeleteditems 返回的回收站目录路径

restoreDestination
String

还原的目标

type
String

还原类型 - 文件或目录

restoreAction
String

发生目标冲突时要执行的操作

cancelToken
CancellationToken

取消取消请求的 CancellationToken

适用于