Class PublishDataSourceOptions
Class for API client data source publish options.
Inherited Members
Namespace: Tableau.Migration.Api.Models
Assembly: Tableau.Migration.dll
Syntax
public class PublishDataSourceOptions : PublishContentWithFileOptions, IPublishDataSourceOptions, IPublishFileOptions
Constructors
PublishDataSourceOptions(IPublishableDataSource, Stream, string)
Creates a new PublishDataSourceOptions instance.
Declaration
public PublishDataSourceOptions(IPublishableDataSource dataSource, Stream file, string fileType = "tdsx")
Parameters
Type | Name | Description |
---|---|---|
IPublishableDataSource | dataSource | The publishable data source information. |
Stream | file | The data source file as a Stream |
string | fileType | The type of data source file. |
Properties
Description
Gets the description of the data source.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string |
EncryptExtracts
Declaration
public bool EncryptExtracts { get; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets the name of the data source.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Overwrite
Gets whether or not to overwrite any existing data source.
Declaration
public bool Overwrite { get; }
Property Value
Type | Description |
---|---|
bool |
ProjectId
Gets the ID of the project to publish to.
Declaration
public Guid ProjectId { get; }
Property Value
Type | Description |
---|---|
Guid |
UseRemoteQueryAgent
Gets whether or not the data source uses Tableau Bridge.
Declaration
public bool UseRemoteQueryAgent { get; }
Property Value
Type | Description |
---|---|
bool |