WebSiteOperationsExtensions.UpdateConfiguration Method

Updates the configuration settings for a website.

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

Dim operations As IWebSiteOperations
Dim webSpaceName As String
Dim webSiteName As String
Dim parameters As WebSiteUpdateConfigurationParameters
Dim returnValue As OperationResponse

returnValue = WebSiteOperationsExtensions.UpdateConfiguration(operations, webSpaceName, webSiteName, parameters)

public static OperationResponse UpdateConfiguration (
	IWebSiteOperations operations,
	string webSpaceName,
	string webSiteName,
	WebSiteUpdateConfigurationParameters parameters
/** @attribute ExtensionAttribute() */ 
public static OperationResponse UpdateConfiguration (
	IWebSiteOperations operations, 
	String webSpaceName, 
	String webSiteName, 
	WebSiteUpdateConfigurationParameters parameters
public static function UpdateConfiguration (
	operations : IWebSiteOperations, 
	webSpaceName : String, 
	webSiteName : String, 
	parameters : WebSiteUpdateConfigurationParameters
) : OperationResponse



The object that specifies the operations for websites.


The name of the web space.


The name of the website.


The WebSiteUpdateConfigurationParameters object that contains the parameters that are used to update the configuration settings for a website.

Return Value

An OperationResponse object that includes an HTTP status code and request ID.

For more information about retrieving settings, see Get or Set Config Details for a Site.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms