ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
TSTom Smith17/04/2018

I have a PDM addin that uses some SQL queries directly to the database.  I am trying to find a way to get the server name itself from the API, so I don't have to hardcode it in to the connection string.  I didn't see anything useful in IEdmVault(n).  Is there some easy way?  As a last resort i could probably read C:\{vault}\desktop.ini and pick thru it.