Eplan Platform API
Eplan.EplApi.HEServices Namespace / Synchronize Class / PartsDatabaseItemToProject Method / PartsDatabaseItemToProject(Project,StoreMode) Method
Project for which the database items will be updated.
Store mode. The enumeration Synchronize.StoreMode defines the supported values.

In This Topic
    PartsDatabaseItemToProject(Project,StoreMode) Method
    In This Topic
    Synchronizes the database items (like parts, manufactures addresses, etc.) stored in the project with the items in the parts master database. This function updates items inside project; items in the database are not changed. This method corresponds with the EPLAN functionality in the ribbon "Master data \> Parts \> Synchronize".
    Syntax
    public void PartsDatabaseItemToProject( 
       Project pProject,
       Synchronize.StoreMode storeMode
    )
    public:
    void PartsDatabaseItemToProject( 
       Project^ pProject,
       Synchronize.StoreMode storeMode
    ) 

    Parameters

    pProject
    Project for which the database items will be updated.
    storeMode
    Store mode. The enumeration Synchronize.StoreMode defines the supported values.
    Exceptions
    ExceptionDescription
    Thrown if null was passed as an argument.
    Thrown in case of invalid arguments, e.g. the project is not valid.
    The synchronization finished with errors.
    See Also