public Project OpenProject( string linkFileName )
public: Project^ OpenProject( String^ linkFileName )
Parameters
- linkFileName
- Full link file name "C:\\Eplan\\P8\\Projects\\ESS_Sample_Project.elk"
Return Value
Project : project object
public Project OpenProject( string linkFileName )
public: Project^ OpenProject( String^ linkFileName )
| 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. |