次の方法で共有


WebSiteOperationsExtensions.UpdateAsync メソッド

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 https://msdn.microsoft.com/en-us/library/windowsazure/dn167005.aspx for more information)

名前空間: Microsoft.WindowsAzure
アセンブリ: Microsoft.WindowsAzure.Management.WebSites (Microsoft.WindowsAzure.Management.WebSites.dll)

使用方法

'使用
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 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>

パラメーター

  • operations
    Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
  • webSpaceName
    Required. The name of the web space.
  • webSiteName
    Required. The name of the web site.
  • parameters
    Required. Parameters supplied to the Update Web Site operation.

戻り値

The Update Web Site operation response.

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーはすべてスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows 7 および Windows Server 2008

ターゲット プラットフォーム

関連項目

リファレンス

WebSiteOperationsExtensions クラス
WebSiteOperationsExtensions のメンバー
Microsoft.WindowsAzure 名前空間