Compartir a través de


GatewaysOperationsExtensions.CreateDatasourceAsync Método

Definición

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.GatewayDatasource> CreateDatasourceAsync (this Microsoft.PowerBI.Api.IGatewaysOperations operations, Guid gatewayId, Microsoft.PowerBI.Api.Models.PublishDatasourceToGatewayRequest datasourceToGatewayRequest, System.Threading.CancellationToken cancellationToken = default);
static member CreateDatasourceAsync : Microsoft.PowerBI.Api.IGatewaysOperations * Guid * Microsoft.PowerBI.Api.Models.PublishDatasourceToGatewayRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.GatewayDatasource>
<Extension()>
Public Function CreateDatasourceAsync (operations As IGatewaysOperations, gatewayId As Guid, datasourceToGatewayRequest As PublishDatasourceToGatewayRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GatewayDatasource)

Parámetros

operations
IGatewaysOperations
gatewayId
Guid
datasourceToGatewayRequest
PublishDatasourceToGatewayRequest
cancellationToken
CancellationToken

Devoluciones

Se aplica a