IWebSiteOperations.BackupAsync Method (String, String, BackupRequest, CancellationToken)
Backups a site on-demand.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Function BackupAsync ( webSpaceName As String, webSiteName As String, backupRequest As BackupRequest, cancellationToken As CancellationToken ) As Task(Of WebSiteBackupResponse)
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the web site.
- backupRequest
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest
A backup specification.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of WebSiteBackupResponse)The backup record created based on the backup request.
Show: