RJKSolutions

PIServer.Connect with RequirePrimary

Discussion created by RJKSolutions on May 29, 2013
Latest reply on May 30, 2013 by RJKSolutions

RequirePrimary seems to get ignored if I connect with any overload where I can pass an AFConnectionPreference.

 

After connecting I check the PIServer.ConnectionInfo.Preference and it says PreferPrimary. I can later in code issue a SwitchMember without it throwing an exception. I didn't test the failover but I assume it will failover fine too.

Outcomes