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.
SolidworksApi macros