Partager via


ReportsOperationsExtensions.GenerateTokenAsync Méthode

Définition

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.EmbedToken> GenerateTokenAsync (this Microsoft.PowerBI.Api.IReportsOperations operations, Guid groupId, Guid reportId, Microsoft.PowerBI.Api.Models.GenerateTokenRequest requestParameters, System.Threading.CancellationToken cancellationToken = default);
static member GenerateTokenAsync : Microsoft.PowerBI.Api.IReportsOperations * Guid * Guid * Microsoft.PowerBI.Api.Models.GenerateTokenRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.EmbedToken>
<Extension()>
Public Function GenerateTokenAsync (operations As IReportsOperations, groupId As Guid, reportId As Guid, requestParameters As GenerateTokenRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EmbedToken)

Paramètres

operations
IReportsOperations
groupId
Guid
reportId
Guid
requestParameters
GenerateTokenRequest
cancellationToken
CancellationToken

Retours

S’applique à