AFServerRole Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The values for the ServerRole property of AFCollectiveMember or
the ServerRole property of PICollectiveMember.
Namespace: OSIsoft.AF.Collective
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFServerRole
Public Enumeration AFServerRole Dim instance As AFServerRole
public enum class AFServerRole
type AFServerRole
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | Indicates that a server role has not been specified. | |
| Primary | 1 | Indicates that the server is in the primary server role within the AFCollective or PICollective. | |
| Secondary | 2 |
Remarks
This enumeration indicates the current server role within the AFCollective or
PICollective.