共用方式為


ApplicationOperationsExtensions.ListAsync 方法

定義

列出指定帳戶中的所有應用程式。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Application>> ListAsync (this Microsoft.Azure.Management.Batch.IApplicationOperations operations, string resourceGroupName, string accountName, int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Batch.IApplicationOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Application>>
<Extension()>
Public Function ListAsync (operations As IApplicationOperations, resourceGroupName As String, accountName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Application))

參數

operations
IApplicationOperations

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

resourceGroupName
String

包含 Batch 帳戶的資源群組名稱。

accountName
String

Batch 帳戶的名稱。

maxresults
Nullable<Int32>

回應中要傳回的專案數目上限。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於