WebSiteOperationsExtensions.Discover Method (IWebSiteOperations, String, String, RestoreRequest)
Scans a backup in a storage account and returns database information etc. Should be called before calling Restore to discover what parameters are needed for the restore operation.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static WebSiteRestoreDiscoverResponse Discover(
this IWebSiteOperations operations,
string webSpaceName,
string webSiteName,
RestoreRequest restoreRequest
)
public:
[ExtensionAttribute]
static WebSiteRestoreDiscoverResponse^ Discover(
IWebSiteOperations^ operations,
String^ webSpaceName,
String^ webSiteName,
RestoreRequest^ restoreRequest
)
static member Discover :
operations:IWebSiteOperations *
webSpaceName:string *
webSiteName:string *
restoreRequest:RestoreRequest -> WebSiteRestoreDiscoverResponse
<ExtensionAttribute>
Public Shared Function Discover (
operations As IWebSiteOperations,
webSpaceName As String,
webSiteName As String,
restoreRequest As RestoreRequest
) As WebSiteRestoreDiscoverResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
webSpaceName
Type: System.StringRequired. The name of the web space.
webSiteName
Type: System.StringRequired. The name of the web site.
restoreRequest
Type: Microsoft.WindowsAzure.Management.WebSites.Models.RestoreRequestRequired. A restore request.
Return Value
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteRestoreDiscoverResponse
The information gathered about a backup storaged in a storage account.
See Also
WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top