API Help
Eplan.EplApi.HEServices Namespace / PartsService Class / PartsDatabase Property

PartsDatabase Property
Returns or sets the complete filename of the current parts database or connection string if SQL connection is selected.
Syntax
public string PartsDatabase {get; set;}
Exceptions
ExceptionDescription
Thrown if null was passed as an argument.
Thrown in case of invalid arguments (strPartsDatabase is not valid or file does not exist).
Remarks
The complete filename can contain pathmap variables. Note that password value in connection string is encrypted so You can use it when you don't have clear password (not encrypted). If You want to set parts database for SQL connection and you have clear password use SetSQLServerConnectionParameters
See Also