共用方式為


SourceControlSyncJobOperationsExtensions.GetAsync 方法

定義

擷取作業識別碼所識別的原始檔控制同步作業。 http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations

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

參數

operations
ISourceControlSyncJobOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

sourceControlName
String

原始檔控制名稱。

sourceControlSyncJobId
Guid

原始檔控制同步作業識別碼。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於