Partager via


DirectoryObjectsOperationsExtensions.GetDirectoryObjectAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject> GetDirectoryObjectAsync (this Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.IDirectoryObjectsOperations operations, string directoryObjectId, string consistencyLevel = default, System.Collections.Generic.IList<string> select = default, System.Collections.Generic.IList<string> expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDirectoryObjectAsync : Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.IDirectoryObjectsOperations * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject>
<Extension()>
Public Function GetDirectoryObjectAsync (operations As IDirectoryObjectsOperations, directoryObjectId As String, Optional consistencyLevel As String = Nothing, Optional select As IList(Of String) = Nothing, Optional expand As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MicrosoftGraphDirectoryObject)

Parameters

directoryObjectId
String
consistencyLevel
String
select
IList<String>
expand
IList<String>
cancellationToken
CancellationToken

Returns

Applies to