Udostępnij za pośrednictwem


WebSiteOperationsExtensions.Backup Method

Definition

Backups a site on-demand.

public static Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponse Backup (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest backupRequest);
static member Backup : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequest -> Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponse
<Extension()>
Public Function Backup (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, backupRequest As BackupRequest) As WebSiteBackupResponse

Parameters

operations
IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSpaceName
String

Required. The name of the web space.

webSiteName
String

Required. The name of the web site.

backupRequest
BackupRequest

Required. A backup specification.

Returns

The backup record created based on the backup request.

Applies to