共用方式為


SourceControlOperationsExtensions.ListByAutomationAccountAsync 方法

定義

擷取原始檔控制項的清單。 http://aka.ms/azureautomationsdk/sourcecontroloperations

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

參數

operations
ISourceControlOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

filter
String

要套用至作業的篩選準則。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於