Interface ITableauApiSimulatorFactory
Interface for an object that can create TableauApiSimulator objects.
Namespace: Tableau.Migration.Api.Simulation
Assembly: Tableau.Migration.dll
Syntax
public interface ITableauApiSimulatorFactory
Methods
GetOrCreate(Uri, bool)
Creates an API simulator for the given server URL, or retrieves the existing simulator.
Declaration
TableauApiSimulator GetOrCreate(Uri serverUrl, bool isTableauServer)
Parameters
Type | Name | Description |
---|---|---|
Uri | serverUrl | The base server URL to get or create the API simulator for. |
bool | isTableauServer | Indicates whether the current Tableau Data is for Tableau Server (true) or Tableau Cloud (false). |
Returns
Type | Description |
---|---|
TableauApiSimulator | The API simulator. |