API Help
Eplan.EplApi.HEServices Namespace / PartsService Class / UpgradePartsDb Method
Full file name to the database

In This Topic
    UpgradePartsDb Method
    In This Topic
    Upgrades the part database to the latest format.
    Syntax
    public void UpgradePartsDb( 
       string strPartsDatabase
    )
    public:
    void UpgradePartsDb( 
       String^ strPartsDatabase
    ) 

    Parameters

    strPartsDatabase
    Full file name to the database
    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).
    An error occurred while upgrading parts database. P.E. when the database is already open.
    Remarks
    The complete filename can contain pathmap variables. The database upgrade needs exclusive access to the database. When its already opened, the upgrade will fail. Be careful, the upgrade cannot undone. When the database is a file, a backup is made, otherwise take care of your parts database and make a backup before.
    See Also