WorkspacesExtensions.GetWorkspacesByCollectionNameAsync Method (IWorkspaces, String, CancellationToken)
Returns a list of workspaces for the specified collection
Namespace: Microsoft.PowerBI.Api.Beta
Assembly: Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)
Syntax
public static Task<ODataResponseListWorkspace> GetWorkspacesByCollectionNameAsync(
this IWorkspaces operations,
string workspaceCollectionName,
CancellationToken cancellationToken = null
)
Parameters
operations
Type: Microsoft.PowerBI.Api.Beta.IWorkspacesThe operations group for this extension method.
workspaceCollectionName
Type: System.StringThe workspace collection name
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<ODataResponseListWorkspace>
See Also
WorkspacesExtensions Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top