Partager via


ServicePrincipalsOperationsExtensions.GetAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.ServicePrincipal> GetAsync (this Microsoft.Azure.Graph.RBAC.Version1_6_20190326.IServicePrincipalsOperations operations, string objectId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Graph.RBAC.Version1_6_20190326.IServicePrincipalsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.ServicePrincipal>
<Extension()>
Public Function GetAsync (operations As IServicePrincipalsOperations, objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipal)

Parameters

objectId
String
cancellationToken
CancellationToken

Returns

Applies to