IWebSiteOperations.RestoreAsync 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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreResponse> RestoreAsync (string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest restoreRequest, System.Threading.CancellationToken cancellationToken);
abstract member RestoreAsync : string * string * Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreResponse>
Public Function RestoreAsync (webSpaceName As String, webSiteName As String, restoreRequest As RestoreRequest, cancellationToken As CancellationToken) As Task(Of WebSiteRestoreResponse)
Parameters
- webSpaceName
- String
The name of the web space.
- webSiteName
- String
The name of the web site.
- restoreRequest
- RestoreRequest
A restore request.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Restore operation information.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET