AFCollectiveMember.ServerRole Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The role of the collective member server within the AFCollective.
Namespace: OSIsoft.AF.Collective
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.