Share via


IWebSiteOperations.BackupAsync Method (String, String, BackupRequest, CancellationToken)

 

Backups a site on-demand.

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

Syntax

Task<WebSiteBackupResponse> BackupAsync(
    string webSpaceName,
    string webSiteName,
    BackupRequest backupRequest,
    CancellationToken cancellationToken
)
Task<WebSiteBackupResponse^>^ BackupAsync(
    String^ webSpaceName,
    String^ webSiteName,
    BackupRequest^ backupRequest,
    CancellationToken cancellationToken
)
abstract BackupAsync : 
        webSpaceName:string *
        webSiteName:string *
        backupRequest:BackupRequest *
        cancellationToken:CancellationToken -> Task<WebSiteBackupResponse>
Function BackupAsync (
    webSpaceName As String,
    webSiteName As String,
    backupRequest As BackupRequest,
    cancellationToken As CancellationToken
) As Task(Of WebSiteBackupResponse)

Parameters

Return Value

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

The backup record created based on the backup request.

See Also

IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top