Interface IWorkbooksContentClient
Interface for a client that can interact with workbooks.
Namespace: Tableau.Migration.Engine.Endpoints.ContentClients
Assembly: Tableau.Migration.dll
Syntax
public interface IWorkbooksContentClient : IContentClient<IWorkbook>
Methods
GetViewsForWorkbookIdAsync(Guid, CancellationToken)
Gets the views for a workbook.
Declaration
Task<IResult<IImmutableList<IView>>> GetViewsForWorkbookIdAsync(Guid workbookId, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
Guid | workbookId | The Workbook Id to get views for. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult<IImmutableList<IView>>> | Collection of views for the workbook. |