DatasetsExtensions.GetDatasetsAsync Method (IDatasets, String, String, CancellationToken)
Returns the EntitySet datasets
Namespace: Microsoft.PowerBI.Api.Beta
Assembly: Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)
Syntax
public static Task<ODataResponseListDataset> GetDatasetsAsync(
this IDatasets operations,
string collectionName,
string workspaceId,
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
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<ODataResponseListDataset>
See Also
DatasetsExtensions Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top