Share via


MockAdlsClient.RestoreDeletedItems Method

Definition

Synchronously Restores trash entry

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)

Parameters

pathOfFileToRestoreInTrash
String

Trash Directory path returned by enumeratedeleteditems

restoreDestination
String

Destination for restore

type
String

type of restore - file or directory

restoreAction
String

Action to take in case of destination conflict

cancelToken
CancellationToken

CancellationToken to cancel the request

Applies to