WebSiteOperationsExtensions.UpdateAsync Method
Asynchronously updates the settings for a web site.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Usage
'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)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function UpdateAsync ( _
operations As IWebSiteOperations, _
webSpaceName As String, _
webSiteName As String, _
parameters As WebSiteUpdateParameters _
) As Task(Of WebSiteUpdateResponse)
[ExtensionAttribute]
public static Task<WebSiteUpdateResponse> UpdateAsync (
IWebSiteOperations operations,
string webSpaceName,
string webSiteName,
WebSiteUpdateParameters 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 web sites.
- webSpaceName
The name of the web space.
- webSiteName
The name of the web site.
- parameters
The WebSiteUpdateParameters object that contains the parameters that are used to update a web site.
Return Value
An WebSiteUpdateResponse object that contains the status information about the updated web site.
Remarks
For more information about update a web site, see Update Web Site Settings
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7 and Windows Server 2008
Target Platforms
See Also
Reference
WebSiteOperationsExtensions Class
WebSiteOperationsExtensions Members
Microsoft.WindowsAzure.Management.WebSites Namespace