Class PublishFileOptionsBase
Abstract base class for IPublishFileOptions implementations.
Inheritance
object
PublishFileOptionsBase
Implements
Namespace: Tableau.Migration.Api.Models
Assembly: Tableau.Migration.dll
Syntax
public abstract class PublishFileOptionsBase : IPublishFileOptions
Constructors
PublishFileOptionsBase(IContentFileHandle, string)
Creates a new PublishFileOptionsBase object.
Declaration
public PublishFileOptionsBase(IContentFileHandle file, string fileType)
Parameters
Type | Name | Description |
---|---|---|
IContentFileHandle | file | The file content to publish. |
string | fileType | The type of the file to publish. |
PublishFileOptionsBase(IContentFileHandle, string, string)
Creates a new PublishFileOptionsBase object.
Declaration
public PublishFileOptionsBase(IContentFileHandle file, string fileName, string fileType)
Parameters
Type | Name | Description |
---|---|---|
IContentFileHandle | file | The file content to publish. |
string | fileName | The name of the file to publish. |
string | fileType | The type of the file to publish. |
Properties
File
Get the file content to publish.
Declaration
public IContentFileHandle File { get; set; }
Property Value
Type | Description |
---|---|
IContentFileHandle |
FileName
Gets the name of the file to publish.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
string |
FileType
Gets the type of the file to publish.
Declaration
public string FileType { get; set; }
Property Value
Type | Description |
---|---|
string |