WebSiteOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET