Share via


GatewaysOperationsExtensions.GetDatasourcesAsync Method

Definition

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

Parameters

operations
IGatewaysOperations
gatewayId
Guid
cancellationToken
CancellationToken

Returns

Applies to