Share via


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).

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Syntax

Task<WebSiteRestoreResponse> RestoreAsync(
    string webSpaceName,
    string webSiteName,
    RestoreRequest restoreRequest,
    CancellationToken cancellationToken
)
Task<WebSiteRestoreResponse^>^ RestoreAsync(
    String^ webSpaceName,
    String^ webSiteName,
    RestoreRequest^ restoreRequest,
    CancellationToken cancellationToken
)
abstract RestoreAsync : 
        webSpaceName:string *
        webSiteName:string *
        restoreRequest:RestoreRequest *
        cancellationToken:CancellationToken -> Task<WebSiteRestoreResponse>
Function RestoreAsync (
    webSpaceName As String,
    webSiteName As String,
    restoreRequest As RestoreRequest,
    cancellationToken As CancellationToken
) As Task(Of WebSiteRestoreResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<WebSiteRestoreResponse>

Restore operation information.

See Also

IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top