Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

PICollective.FindPrimary Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PICollective.FindPrimary Method
Finds the primary member of the collective.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public PICollectiveMember FindPrimary()
Public Function FindPrimary As PICollectiveMember

Dim instance As PICollective
Dim returnValue As PICollectiveMember

returnValue = instance.FindPrimary()
public:
PICollectiveMember^ FindPrimary()
member FindPrimary : unit -> PICollectiveMember 

Return Value

Type: PICollectiveMember
Returns the primary member of the PICollective.

Remarks

This method returns the PICollectiveMember with a AFServerRole set to Primary.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in