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
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
webSpaceName
Type: System.StringRequired. The name of the web space.
webSiteName
Type: System.StringRequired. The name of the web site.
backupRequest
Type: Microsoft.WindowsAzure.Management.WebSites.Models.BackupRequestRequired. A backup specification.
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