共用方式為


ServicePrincipalsOperationsExtensions.List Method

Definition

Gets a list of service principals from the current tenant.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.ServicePrincipal> List (this Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Graph.RBAC.Models.ServicePrincipal> odataQuery = default);
static member List : Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Graph.RBAC.Models.ServicePrincipal> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.ServicePrincipal>
<Extension()>
Public Function List (operations As IServicePrincipalsOperations, Optional odataQuery As ODataQuery(Of ServicePrincipal) = Nothing) As IPage(Of ServicePrincipal)

Parameters

operations
IServicePrincipalsOperations

The operations group for this extension method.

odataQuery
ODataQuery<ServicePrincipal>

OData parameters to apply to the operation.

Returns

Applies to