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

ObjectsOperationsExtensions.GetObjectsByObjectIdsAsync 方法

定义

获取对象 ID 列表中指定的目录对象。 还可以通过指定可选的 types 参数指定应搜索的资源集合(用户、组等)。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DirectoryObject>> GetObjectsByObjectIdsAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IObjectsOperations operations, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GetObjectsParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member GetObjectsByObjectIdsAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IObjectsOperations * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GetObjectsParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DirectoryObject>>
<Extension()>
Public Function GetObjectsByObjectIdsAsync (operations As IObjectsOperations, parameters As GetObjectsParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DirectoryObject))

参数

operations
IObjectsOperations

此扩展方法的操作组。

parameters
GetObjectsParameters

对象筛选参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于