Share via


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 https://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)

Syntax

public static WebSiteUpdateResponse Update(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    WebSiteUpdateParameters parameters
)
public:
[ExtensionAttribute]
static WebSiteUpdateResponse^ Update(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    WebSiteUpdateParameters^ parameters
)
static member Update : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        parameters:WebSiteUpdateParameters -> WebSiteUpdateResponse
<ExtensionAttribute>
Public Shared Function Update (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    parameters As WebSiteUpdateParameters
) As WebSiteUpdateResponse

Parameters

  • 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.Management.WebSites.Models.WebSiteUpdateResponse

The Update Web Site operation response.

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top