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

AF SDK Reference

AFCollectiveMember.ServerRole Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCollectiveMember.ServerRole Property
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: AFServerRole
Returns 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.

Version Information

AFSDK


See Also

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