共用方式為


WebSiteManagementClientExtensions.UpdateSourceControlAsync 方法

定義

更新原始檔控制權杖

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner> UpdateSourceControlAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient operations, string sourceControlType, Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner requestMessage, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSourceControlAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * string * Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner>
<Extension()>
Public Function UpdateSourceControlAsync (operations As IWebSiteManagementClient, sourceControlType As String, requestMessage As SourceControlInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceControlInner)

參數

operations
IWebSiteManagementClient

這個擴充方法的作業群組。

sourceControlType
String

原始檔控制的類型

requestMessage
SourceControlInner

原始檔控制權杖資訊

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

更新原始檔控制權杖的描述

適用於