WebSiteOperationsExtensions.Restore Method (IWebSiteOperations, String, String, RestoreRequest)
Restores a site to either a new site or existing site (Overwrite flag has to be set to true for that).
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
public static WebSiteRestoreResponse Restore( this IWebSiteOperations operations, string webSpaceName, string webSiteName, RestoreRequest restoreRequest )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
-
Type:
System.String
Required. The name of the web space.
- webSiteName
-
Type:
System.String
Required. The name of the web site.
- restoreRequest
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest
Required. A restore request.
Return Value
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreResponseRestore operation information.
Show: