I've been trying to find out how I can connect to a PI Archive that is on the same network as the server I'm developing on.
I've been looking at the Connect method but that just uses the default PI Server
As the PIServers object represents the collection of known PI Data Archive servers on the client workstation, you would only need to use the Add method to register a new, previously unknown server (relative to the computer you are connecting from). More likely what you need to do is to specify which server from the collection you want to connect to before calling it's Connect() method:
PIServers piServers = new PIServers();
piServer = piServers["MyDAserver"];
I think I answered my own question...
I simply had to call the ADD method on my PIServers object.
Is this correct?
Retrieving data ...