This functionality is only available for certain module packages. Info / Copyright

Action: XPartsSetDataSourceAction


Parameter

Description

DataSourceType

Type of the database source (0 = EPLAN database (default value), 1 = SQL Server, 3 = eSTOCK collection).

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 .

CollectionName

Name of the eSTOCK collection.

CollectionId

ID of the eSTOCK collection.

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 CollectionName and CollectionId can be used.