Share via


WebSiteOperationsExtensions.BackupAsync 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 Task<WebSiteBackupResponse> BackupAsync(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    BackupRequest backupRequest
)
public:
[ExtensionAttribute]
static Task<WebSiteBackupResponse^>^ BackupAsync(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    BackupRequest^ backupRequest
)
static member BackupAsync : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        backupRequest:BackupRequest -> Task<WebSiteBackupResponse>
<ExtensionAttribute>
Public Shared Function BackupAsync (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    backupRequest As BackupRequest
) As Task(Of 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: System.Threading.Tasks.Task<WebSiteBackupResponse>

The backup record created based on the backup request.

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top