Share via


WebSiteOperationsExtensions.Backup Method (IWebSiteOperations, String, String, BackupRequest)

 

Backups a site on-demand.

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

Syntax

public static WebSiteBackupResponse Backup(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    BackupRequest backupRequest
)
public:
[ExtensionAttribute]
static WebSiteBackupResponse^ Backup(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    BackupRequest^ backupRequest
)
static member Backup : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        backupRequest:BackupRequest -> WebSiteBackupResponse
<ExtensionAttribute>
Public Shared Function Backup (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    backupRequest As BackupRequest
) As WebSiteBackupResponse

Parameters

  • webSpaceName
    Type: System.String

    Required. The name of the web space.

  • webSiteName
    Type: System.String

    Required. The name of the web site.

Return Value

Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteBackupResponse

The backup record created based on the backup request.

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top