WebSiteOperationsExtensions.UpdateConfiguration Method
Updates the configuration settings for a web site.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Usage
'Usage
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)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function UpdateConfiguration ( _
operations As IWebSiteOperations, _
webSpaceName As String, _
webSiteName As String, _
parameters As WebSiteUpdateConfigurationParameters _
) As OperationResponse
[ExtensionAttribute]
public static OperationResponse UpdateConfiguration (
IWebSiteOperations operations,
string webSpaceName,
string webSiteName,
WebSiteUpdateConfigurationParameters parameters
)
[ExtensionAttribute]
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
)
ExtensionAttribute
public static function UpdateConfiguration (
operations : IWebSiteOperations,
webSpaceName : String,
webSiteName : String,
parameters : WebSiteUpdateConfigurationParameters
) : OperationResponse
Parameters
- operations
The object that specifies the operations for web sites.
- webSpaceName
The name of the web space.
- webSiteName
The name of the web site.
- parameters
The WebSiteUpdateConfigurationParameters object that contains the parameters that are used to update the configuration settings for a web site.
Return Value
An OperationResponse object that includes an HTTP status code and request ID.
Remarks
For more information about retrieving settings, see Get or Set Config Details for a Site.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7 and Windows Server 2008
Target Platforms
See Also
Reference
WebSiteOperationsExtensions Class
WebSiteOperationsExtensions Members
Microsoft.WindowsAzure.Management.WebSites Namespace