AFServerRole Enumeration
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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.