WebSiteOperationsExtensions.RestoreAsync 方法 (IWebSiteOperations, String, String, RestoreRequest)
将站点还原到新网站或现有网站 (覆盖标志必须设置为 true,)。
命名空间: Microsoft.WindowsAzure
程序集: Microsoft.WindowsAzure.Management.WebSites(Microsoft.WindowsAzure.Management.WebSites.dll 中)
语法
public static Task<WebSiteRestoreResponse> RestoreAsync(
this IWebSiteOperations operations,
string webSpaceName,
string webSiteName,
RestoreRequest restoreRequest
)
public:
[ExtensionAttribute]
static Task<WebSiteRestoreResponse^>^ RestoreAsync(
IWebSiteOperations^ operations,
String^ webSpaceName,
String^ webSiteName,
RestoreRequest^ restoreRequest
)
static member RestoreAsync :
operations:IWebSiteOperations *
webSpaceName:string *
webSiteName:string *
restoreRequest:RestoreRequest -> Task<WebSiteRestoreResponse>
<ExtensionAttribute>
Public Shared Function RestoreAsync (
operations As IWebSiteOperations,
webSpaceName As String,
webSiteName As String,
restoreRequest As RestoreRequest
) As Task(Of WebSiteRestoreResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations对 Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations 引用。
webSpaceName
Type: System.String必需。 Web 空间的名称。
webSiteName
Type: System.String必需。 网站的名称。
restoreRequest
Type: Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest必需。 还原请求。
返回值
Type: System.Threading.Tasks.Task<WebSiteRestoreResponse>
还原操作信息。
请参阅
WebSiteOperationsExtensions 类
Microsoft.WindowsAzure 命名空间
返回页首