IWorkspaces.GetWorkspacesByCollectionNameWithHttpMessagesAsync Method (String, Dictionary<String, List<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
Task<HttpOperationResponse<ODataResponseListWorkspace>> GetWorkspacesByCollectionNameWithHttpMessagesAsync(
string workspaceCollectionName,
Dictionary<string, List<string>> customHeaders = null,
CancellationToken cancellationToken = null
)
Parameters
workspaceCollectionName
Type: System.StringThe workspace collection name
customHeaders
Type: System.Collections.Generic.Dictionary<String, List<String>>The headers that will be added to request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<HttpOperationResponse<ODataResponseListWorkspace>>
See Also
IWorkspaces Interface
Microsoft.PowerBI.Api.Beta Namespace
Return to top