WebSiteOperationsExtensions.Restart 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.
You can restart a web site by issuing an HTTP POST request. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn236425.aspx for more information)
public static Microsoft.Azure.AzureOperationResponse Restart (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName);
static member Restart : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Restart (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String) As AzureOperationResponse
Parameters
- operations
- IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
- String
Required. The name of the web space.
- webSiteName
- String
Required. The name of the web site.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET