Yes the latter,
The ultimate goal is for example to have machine statistics pass/fail etc written to a database on the SQL server and to be able to define some queries and place them behind buttons on the HMI that will allow the operator to run them.
The most important aspect of this project is to have data stored on a remote server and not within the application as I'm sure this is an alternative.