Datasets.GetDatasourcesWithHttpMessagesAsync Method (String, String, String, Dictionary<String, List<String>>, CancellationToken)

 

Gets a list of datasource for the specified dataset

Namespace:   Microsoft.PowerBI.Api.Beta
Assembly:  Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)

Syntax

public Task<HttpOperationResponse<ODataResponseListDatasource>> GetDatasourcesWithHttpMessagesAsync(
    string collectionName,
    string workspaceId,
    string datasetKey,
    Dictionary<string, List<string>> customHeaders = null,
    CancellationToken cancellationToken = null
)

Parameters

  • collectionName
    Type: System.String

    The workspace collection name

Return Value

Type: System.Threading.Tasks.Task<HttpOperationResponse<ODataResponseListDatasource>>

Implements

IDatasets.GetDatasourcesWithHttpMessagesAsync(String, String, String, Dictionary<String, List<String>>, CancellationToken)

See Also

Datasets Class
Microsoft.PowerBI.Api.Beta Namespace

Return to top