Parameters
- linkFileName
- Full link file name "C:\\Eplan\\P8\\Projects\\EPLAN_Sample_Project.elk"
- wantedOpenMode
- upgradeIfNeeded
- Defines if the project should be automatically upgraded it its needed
Return Value
Project : project object
Exception | Description |
---|---|
System.ArgumentException | Thrown if the source project does not exist |
System.ArgumentNullException | Thrown when linkFileName is null . |
ProjectOpenException | Thrown when requested project cannot be open |
ProjectLockingException | Thrown when LockProjectByDefault is true and a project cannot be locked. |
ProjectNeedsUpgradeException | Thrown when project linkFileName has old database structure and needs to be upgraded. |
IncompatibleDatabaseException | Thrown when project linkFileName has incompatible database structure and we can do nothing about it. |