AFCollectiveMember.ServerRole Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The role of the collective member server within the AFCollective.
Namespace: OSIsoft.AF.Collective
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFServerRole ServerRole { get; }
Public ReadOnly Property ServerRole As AFServerRole Get Dim instance As AFCollectiveMember Dim value As AFServerRole value = instance.ServerRole
public: property AFServerRole ServerRole { AFServerRole get (); }
member ServerRole : AFServerRole with get
Property Value
Type: AFServerRoleReturns the role of the collective member server within the AFCollective.
Remarks
The PISystem used to create the collective using the
PISystem.CreateCollective method becomes the
Primary member of the collective. Each PISystem
added to the collective using the AFCollectiveMembers.Add
method become Secondary members of the collective.