WebSiteOperationsExtensions.Restore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restores a site to either a new site or existing site (Overwrite flag has to be set to true for that).
public static Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreResponse Restore (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest restoreRequest);
static member Restore : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest -> Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreResponse
<Extension()>
Public Function Restore (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, restoreRequest As RestoreRequest) As WebSiteRestoreResponse
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.
- restoreRequest
- RestoreRequest
Required. A restore request.
Returns
Restore operation information.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET