Book a Demo

Author Topic: Obtain path where model has been loaded from  (Read 2864 times)

Lars J.

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Obtain path where model has been loaded from
« on: April 26, 2012, 08:34:19 pm »
Hi all,

one short question: is there in the automation interface a function or property or the like which keeps the directory path where a project / model has been loaded from?

thanks,

Lars

Lars J.

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Obtain path where model has been loaded from
« Reply #1 on: April 26, 2012, 08:57:40 pm »
Quote
Hi all,

one short question: is there in the automation interface a function or property or the like which keeps the directory path where a project / model has been loaded from?
got it. Repository.ConnectionString is what I'm looking for. Didn't expect a name so far away from something with "....Path"  :-?

L.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Obtain path where model has been loaded from
« Reply #2 on: April 27, 2012, 08:52:24 am »
Quote
Didn't expect a name so far away from something with "....Path"  :-?
Well it only contains the path if you're using an EAP file. If you're using a DBMS repository, it contains the, er... connection string.  8-)
The Sparx Team
[email protected]