AFCommunicationStatus Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The communication status between servers within the AFCollective.
Namespace: OSIsoft.AF.Collective
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFCommunicationStatus
Public Enumeration AFCommunicationStatus Dim instance As AFCommunicationStatus
public enum class AFCommunicationStatus
type AFCommunicationStatus
Members
| Member name | Value | Description | |
|---|---|---|---|
| Good | 0 | Good communication status, no problems communicating between the servers within the AFCollective. | |
| TimedOutOnPrimary | 1 | A time out has occurred when communicating with the primary server. | |
| PrimaryHostMismatch | 2 | The primary Host does not match. | |
| FailedToConnect | 3 | Failed to connect to primary. | |
| UnknownException | 4 | An unknown exception has occurred during communication between the servers within the AFCollective. | |
| Shutdown | 5 | The AFCollectiveMember has shut down. | |
| InvalidCertificate | 6 | The AFCollectiveMember cannot connect to the primary because it has an invalid certificate. This status will occur until the Secondary member of the collective receives a valid certificate from the Primary member of the collective through SQL replication. |
Remarks
This enumeration is used as the value of the AFCollectiveMember.CommunicationStatus property.
This represents the status of the communication between the AF Application Service for a Secondary member of the collective and the AF Application Service for the Primary member of the collective. Each Secondary member of the collective communicates its status information back to the Primary member of the collective using a Windows Communication Foundation (WCF) connection.