Partager via


DatasetsOperationsExtensions.GenerateTokenAsync Méthode

Définition

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

Paramètres

operations
IDatasetsOperations
groupId
Guid
datasetId
String
requestParameters
GenerateTokenRequest
cancellationToken
CancellationToken

Retours

S’applique à