WebSiteOperationsExtensions.Restart Method (IWebSiteOperations, String, String)

 

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)

Namespace:   Microsoft.WindowsAzure
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

<ExtensionAttribute>
Public Shared Function Restart (
	operations As IWebSiteOperations,
	webSpaceName As String,
	webSiteName As String
) As OperationResponse

Parameters

operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSpaceName
Type: System.String

Required. The name of the web space.

webSiteName
Type: System.String

Required. The name of the web site.

Return Value

Type: Microsoft.WindowsAzure.OperationResponse

A standard service response including an HTTP status code and request ID.

Return to top
Show: