WebSiteOperationsExtensions.Update Method (IWebSiteOperations, String, String, WebSiteUpdateParameters)

 

You can update the settings for a web site by using the HTTP PUT method and by specifying the settings in the request body. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn167005.aspx for more information)

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

<ExtensionAttribute>
Public Shared Function Update (
	operations As IWebSiteOperations,
	webSpaceName As String,
	webSiteName As String,
	parameters As WebSiteUpdateParameters
) As WebSiteUpdateResponse

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.

parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters

Required. Parameters supplied to the Update Web Site operation.

Return Value

Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateResponse

The Update Web Site operation response.

Return to top
Show: