I am writing a c# application that uses osisoft AFSDK dll (2016 version). My application should define pi server collective and send data to this collective. But what I'm trying to figure out is: using c# code, how to define a pi data archive servers as a collective? and how to configure one of them to be the primary server? I've been searching for code examples and couldn't find any code. Can anyone post an example or a reference to such an example?