共用方式為


WebSiteOperationsExtensions.Update Method

Definition

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)

public static Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateResponse Update (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters parameters);
static member Update : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters -> Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateResponse
<Extension()>
Public Function Update (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateParameters) As WebSiteUpdateResponse

Parameters

operations
IWebSiteOperations

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

webSpaceName
String

Required. The name of the web space.

webSiteName
String

Required. The name of the web site.

parameters
WebSiteUpdateParameters

Required. Parameters supplied to the Update Web Site operation.

Returns

The Update Web Site operation response.

Applies to