IWebSiteOperations.RestoreAsync Method (String, String, RestoreRequest, CancellationToken)
Restores a site to either a new site or existing site (Overwrite flag has to be set to true for that).
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Function RestoreAsync ( webSpaceName As String, webSiteName As String, restoreRequest As RestoreRequest, cancellationToken As CancellationToken ) As Task(Of WebSiteRestoreResponse)
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the web site.
- restoreRequest
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest
A restore request.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of WebSiteRestoreResponse)Restore operation information.
Show: