다음을 통해 공유


DataLakeStoreFileSystemClient.RestoreDeletedItem Method

Definition

Restore a stream or directory from trash to user space. This is a synchronous operation. Not threadsafe when Restore is called for same path from different threads.

public void RestoreDeletedItem (string accountName, string path, string destination, string type, string restoreAction, System.Threading.CancellationToken cmdletCancellationToken = default);
member this.RestoreDeletedItem : string * string * string * string * string * System.Threading.CancellationToken -> unit
Public Sub RestoreDeletedItem (accountName As String, path As String, destination As String, type As String, restoreAction As String, Optional cmdletCancellationToken As CancellationToken = Nothing)

Parameters

accountName
String

Account name

path
String

The trash directory path in enumeratedeleteditems response

destination
String

Path to where the entry should be restored

type
String

Type of the entry which is being restored. "file" or "folder"

restoreAction
String

Action to take during destination name conflicts - "overwrite" or "copy"

cmdletCancellationToken
CancellationToken

CancellationToken

Applies to