共用方式為


BackupOperationsExtensions.RestoreAsync Method

Definition

Restore a backup set.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> RestoreAsync (this Microsoft.WindowsAzure.Management.StorSimple.IBackupOperations operations, string deviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.RestoreBackupRequest backupDetailsForRestore, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member RestoreAsync : Microsoft.WindowsAzure.Management.StorSimple.IBackupOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.RestoreBackupRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
<Extension()>
Public Function RestoreAsync (operations As IBackupOperations, deviceId As String, backupDetailsForRestore As RestoreBackupRequest, customRequestHeaders As CustomRequestHeaders) As Task(Of TaskStatusInfo)

Parameters

operations
IBackupOperations

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IBackupOperations.

deviceId
String

Required. The device id for which the call will be made.

backupDetailsForRestore
RestoreBackupRequest

Required. The details of the backup to be restored.

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

Info about the async task

Applies to