Share via


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).

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

Syntax

public static WebSiteRestoreResponse Restore(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    RestoreRequest restoreRequest
)
public:
[ExtensionAttribute]
static WebSiteRestoreResponse^ Restore(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    RestoreRequest^ restoreRequest
)
static member Restore : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        restoreRequest:RestoreRequest -> WebSiteRestoreResponse
<ExtensionAttribute>
Public Shared Function Restore (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    restoreRequest As RestoreRequest
) As WebSiteRestoreResponse

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.WebSiteRestoreResponse

Restore operation information.

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top