MockAdlsClient.RestoreDeletedItems Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET