WebSiteOperationsExtensions.Update Method
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 WebSiteUpdateResponse
returnValue = WebSiteOperationsExtensions.Update(operations, webSpaceName, webSiteName, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Update ( _
operations As IWebSiteOperations, _
webSpaceName As String, _
webSiteName As String, _
parameters As WebSiteUpdateParameters _
) As WebSiteUpdateResponse
[ExtensionAttribute]
public static WebSiteUpdateResponse Update (
IWebSiteOperations operations,
string webSpaceName,
string webSiteName,
WebSiteUpdateParameters parameters
)
[ExtensionAttribute]
public:
static WebSiteUpdateResponse^ Update (
IWebSiteOperations^ operations,
String^ webSpaceName,
String^ webSiteName,
WebSiteUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static WebSiteUpdateResponse Update (
IWebSiteOperations operations,
String webSpaceName,
String webSiteName,
WebSiteUpdateParameters parameters
)
ExtensionAttribute
public static function Update (
operations : IWebSiteOperations,
webSpaceName : String,
webSiteName : String,
parameters : WebSiteUpdateParameters
) : 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