C# Class DatasourcePublishSettings, TabMigrate

Show file Open project: tableau/TabMigrate Class Usage Examples

Public Properties

Property Type Description
OwnerName string

Public Methods

Method Description
DatasourcePublishSettings ( string ownerName ) : System

Constructor

Private Methods

Method Description
CreateSettingsFile ( SiteDatasource, ds, string localDatasourcePath, KeyedLookup userLookups ) : void

Save Datasource metadata in a XML file along-side the workbook file

GetSettingsForSavedDatasource ( string datasourceWithPath ) : DatasourcePublishSettings,

Look up any saved settings we have associated with a datasource on our local file systemm

IsSettingsFile ( string filePath ) : bool

TRUE if the file is an internal settings file

PathForSettingsFile ( string datasourcePath ) : string

Generates the path/filename of the Settings file that corresponds to the datasource path

Method Details

DatasourcePublishSettings() public method

Constructor
public DatasourcePublishSettings ( string ownerName ) : System
ownerName string
return System

Property Details

OwnerName public property

The name of the owner of the content (NULL if unknown)
public string OwnerName
return string