Udostępnij za pośrednictwem


WebSiteOperationsExtensions.UpdateAsync 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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateResponse> UpdateAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters parameters);
static member UpdateAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateResponse>
<Extension()>
Public Function UpdateAsync (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateParameters) As Task(Of 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