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

TenantOperationsExtensions.ListAsync(ITenantOperations) 方法

定义

获取 tenantIds 的列表。

public static System.Threading.Tasks.Task<Microsoft.Azure.Subscriptions.Models.TenantListResult> ListAsync (this Microsoft.Azure.Subscriptions.ITenantOperations operations);
static member ListAsync : Microsoft.Azure.Subscriptions.ITenantOperations -> System.Threading.Tasks.Task<Microsoft.Azure.Subscriptions.Models.TenantListResult>
<Extension()>
Public Function ListAsync (operations As ITenantOperations) As Task(Of TenantListResult)

参数

operations
ITenantOperations

对 Microsoft.Azure.Subscriptions.ITenantOperations 的引用。

返回

租户 ID 信息。

适用于