4 Replies Latest reply on Sep 8, 2016 7:02 PM by ebelaski

    Connect to specific Collective

    ebelaski

      Hello,

      I would like to make a connection to one of our PI Archives. We have two PI Collectives, say PIColl1 and PIColl2. When I use the standard connection string:

      PIServer myPIServer = new PIServers().DefaultPIServer;

      I am always connected to our default collective which is PIColl1.

       

      I have a custom application in which I need to connect to PIColl2. Is there a way to specify the collective to connect to?

      Thanks