Interface IMigrator
Interface for an object that can migration Tableau data between Tableau sites.
Namespace: Tableau.Migration
Assembly: Tableau.Migration.dll
Syntax
public interface IMigrator
Methods
ExecuteAsync(IMigrationPlan, CancellationToken)
Executes a migration asynchronously.
Declaration
Task<MigrationResult> ExecuteAsync(IMigrationPlan plan, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationPlan | plan | The migration plan to execute. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<MigrationResult> | The results of the migration. |
ExecuteAsync(IMigrationPlan, IMigrationManifest?, CancellationToken)
Executes a migration asynchronously.
Declaration
Task<MigrationResult> ExecuteAsync(IMigrationPlan plan, IMigrationManifest? previousManifest, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationPlan | plan | The migration plan to execute. |
| IMigrationManifest | previousManifest | A manifest from a previous migration of the same plan to use to determine what progress has already been made. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<MigrationResult> | The results of the migration. |