你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServersOperationsExtensions.ListAsync 方法

定义

列出给定订阅中的所有服务器。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.MySQL.Models.Server>> ListAsync (this Microsoft.Azure.Management.MySQL.IServersOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.MySQL.IServersOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.MySQL.Models.Server>>
<Extension()>
Public Function ListAsync (operations As IServersOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Server))

参数

operations
IServersOperations

此扩展方法的操作组。

cancellationToken
CancellationToken

取消标记。

返回

适用于