Action: XPartsSetDataSourceAction


Parameter

Description

DataSourceType

Type of database source (0 = Eplan database (default value), 1 = SQL Server, 3 = Eplan Cloud database).

DataBaseFileName

Database name with complete file path.

SqlServer

Name of the SQL Server.

SqlCatalog

Name of the SQL database.

SqlUserName

Name of the user.

SqlPassword

Password of the user.

SqlLogin

SQL login (0 = Windows registration (default value), 1 = SQL Server registration (user name + password)).

SqlFullName

Full name of the SQL Server. Cannot be used together with one of the parameters SqlServer, SqlCatalog, SqlUserName or SqlPassword .

ContainerName

Name of the Eplan Cloud database.

ContainerId

ID of the Eplan Cloud database.

Notes:

  • If DataSourceType = 0, the parameter DataBaseFileName can be used.
  • If DataSourceType = 1 is selected, the parameters SqlServer, SqlCatalog, SqlUserName, SqlPassword, SqlLogin and SqlFullName can be used. The parameter SqlFullName is only used if SqlLogin = 1 is used.
  • If DataSourceType = 3, the parameters ContainerName and ContainerId can be used.