Interface IMigrationEndpoint
Interface for an object that represents a location to move Tableau data to or from.
Inherited Members
Namespace: Tableau.Migration.Engine.Endpoints
Assembly: Tableau.Migration.dll
Syntax
public interface IMigrationEndpoint : IAsyncDisposable
Methods
GetPager<TContent>(int)
Gets a pager to list all the content the user has access to.
Declaration
IPager<TContent> GetPager<TContent>(int pageSize)
Parameters
Type | Name | Description |
---|---|---|
int | pageSize | The page size to use. |
Returns
Type | Description |
---|---|
IPager<TContent> | A pager to list content with. |
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
GetSessionAsync(CancellationToken)
Gets the current server session information.
Declaration
Task<IResult<IServerSession>> GetSessionAsync(CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult<IServerSession>> | An awaitable task with the server session result. |
InitializeAsync(CancellationToken)
Performs pre-migration initialization.
Declaration
Task<IResult> InitializeAsync(CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult> | An awaitable task with the initialization result. |