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

In This Topic
    PartsDatabase Property
    In This Topic
    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;}
    public:
    property String^ PartsDatabase {
       String^ get();
       void set (    String^ value);
    }
    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