public bool SynchronizeProjects( Project oSourceProject, Project oTargetProject, ProjectManagement.SynchronizationMode eSynchronizationMode, bool bUpdateProperties, bool bUpdateSegmentDefinition, bool bUpdatePropertyArrangement, bool bUpdateLayer, bool bUpdateStructureIdentifier, bool bUpdateSettings )
public: bool SynchronizeProjects( Project^ oSourceProject, Project^ oTargetProject, ProjectManagement.SynchronizationMode eSynchronizationMode, bool bUpdateProperties, bool bUpdateSegmentDefinition, bool bUpdatePropertyArrangement, bool bUpdateLayer, bool bUpdateStructureIdentifier, bool bUpdateSettings )
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.
- bUpdateProperties
- If true properties of the projects are synchronized.
- bUpdateSegmentDefinition
- If true segment definition and segment templates data is synchronized.
- bUpdatePropertyArrangement
- If true property arrangement data is synchronized.
- bUpdateLayer
- If true layers of the projects are synchronized.
- bUpdateStructureIdentifier
- If true structure identifier data is synchronized.
- bUpdateSettings
- If true settings of the projects are synchronized.
Return Value
True if the synchronization was successful.