共用方式為


SourceControlOperationsExtensions.GetAsync 方法

定義

擷取原始檔控制名稱所識別的原始檔控制。 http://aka.ms/azureautomationsdk/sourcecontroloperations

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

參數

operations
ISourceControlOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

sourceControlName
String

原始檔控制的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於