WebSiteOperationsExtensions.Restore 方法 (IWebSiteOperations, String, String, RestoreRequest)

 

将站点还原到新网站或现有网站 (覆盖标志必须设置为 true,)。

命名空间:   Microsoft.WindowsAzure
程序集:  Microsoft.WindowsAzure.Management.WebSites(Microsoft.WindowsAzure.Management.WebSites.dll 中)

语法

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

参数

  • webSpaceName
    Type: System.String

    必需。 Web 空间的名称。

返回值

Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreResponse

还原操作信息。

请参阅

WebSiteOperationsExtensions 类
Microsoft.WindowsAzure 命名空间

返回页首