WebSiteOperationsExtensions.UpdateAsync Method

Asynchronously updates the settings for a website.

Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

'Usage
Dim operations As IWebSiteOperations
Dim webSpaceName As String
Dim webSiteName As String
Dim parameters As WebSiteUpdateParameters
Dim returnValue As Task(Of WebSiteUpdateResponse)

returnValue = WebSiteOperationsExtensions.UpdateAsync(operations, webSpaceName, webSiteName, parameters)

[ExtensionAttribute] 
public static Task<WebSiteUpdateResponse> UpdateAsync (
	IWebSiteOperations operations,
	string webSpaceName,
	string webSiteName,
	WebSiteUpdateParameters parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<WebSiteUpdateResponse> UpdateAsync (
	IWebSiteOperations operations, 
	String webSpaceName, 
	String webSiteName, 
	WebSiteUpdateParameters parameters
)
ExtensionAttribute 
public static function UpdateAsync (
	operations : IWebSiteOperations, 
	webSpaceName : String, 
	webSiteName : String, 
	parameters : WebSiteUpdateParameters
) : Task<WebSiteUpdateResponse>

Parameters

operations

The object that specifies the operations for websites.

webSpaceName

The name of the web space.

webSiteName

The name of the website.

parameters

The WebSiteUpdateParameters object that contains the parameters that are used to update a website.

Return Value

An WebSiteUpdateResponse object that contains the status information about the updated website.

For more information about update a website, see Update Website Settings


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Show: