API Help
Eplan.EplApi.HEServices Namespace / ProjectManagement Class / SynchronizeProjects Method / SynchronizeProjects(Project,Project,SynchronizationMode) Method
Source project from which it gets data.
Target project to synchronize.
Determines what mode of synchronization will be used. Update - Replaces all outdated and different project data in the target project by the data of the source project. Complete - Supplements the project data of the target project with data which so far was only available in the source project.

In This Topic
    SynchronizeProjects(Project,Project,SynchronizationMode) Method
    In This Topic
    Synchronizes all projects data from source project into the target project.
    Syntax

    Parameters

    oSourceProject
    Source project from which it gets data.
    oTargetProject
    Target project to synchronize.
    eSynchronizationMode
    Determines what mode of synchronization will be used. Update - Replaces all outdated and different project data in the target project by the data of the source project. Complete - Supplements the project data of the target project with data which so far was only available in the source project.

    Return Value

    True if the synchronization was successful.
    Exceptions
    ExceptionDescription
    Thrown if source or target project is null.
    Thrown if the internal action could not be found.
    Thrown if an error occurs while executing the method.
    See Also