共用方式為


SourceControlOperationsExtensions.UpdateAsync 方法

定義

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SourceControl> UpdateAsync (this Microsoft.Azure.Management.Automation.ISourceControlOperations operations, string resourceGroupName, string automationAccountName, string sourceControlName, Microsoft.Azure.Management.Automation.Models.SourceControlUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.ISourceControlOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.SourceControlUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SourceControl>
<Extension()>
Public Function UpdateAsync (operations As ISourceControlOperations, resourceGroupName As String, automationAccountName As String, sourceControlName As String, parameters As SourceControlUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceControl)

參數

operations
ISourceControlOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

sourceControlName
String

原始檔控制名稱。

parameters
SourceControlUpdateParameters

提供給更新原始檔控制作業的參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於