WebSiteOperationsExtensions.UpdateAsync 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 http://msdn.microsoft.com/en-us/library/windowsazure/dn167005.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
<ExtensionAttribute> Public Shared Function UpdateAsync ( operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateParameters ) As Task(Of WebSiteUpdateResponse)
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
-
Type:
System.String
Required. The name of the web space.
- webSiteName
-
Type:
System.String
Required. The name of the web site.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters
Required. Parameters supplied to the Update Web Site operation.
Return Value
Type: System.Threading.Tasks.Task(Of WebSiteUpdateResponse)The Update Web Site operation response.
Show: