DatasetsExtensions.GetGatewayDatasourcesAsync Method (IDatasets, String, String, String, CancellationToken)
Gets a list of bound gateway datasources for the specified dataset
Namespace: Microsoft.PowerBI.Api.Beta
Assembly: Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)
Syntax
public static Task<ODataResponseListGatewayDatasource> GetGatewayDatasourcesAsync(
this IDatasets operations,
string collectionName,
string workspaceId,
string datasetKey,
CancellationToken cancellationToken = null
)
Parameters
operations
Type: Microsoft.PowerBI.Api.Beta.IDatasetsThe operations group for this extension method.
collectionName
Type: System.StringThe workspace collection name
workspaceId
Type: System.StringThe workspace id
datasetKey
Type: System.StringThe dataset id
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<ODataResponseListGatewayDatasource>
See Also
DatasetsExtensions Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top