AFSyncStatus Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The synchronization 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 AFSyncStatus
Public Enumeration AFSyncStatus Dim instance As AFSyncStatus
public enum class AFSyncStatus
type AFSyncStatus
Members
| Member name | Value | Description | |
|---|---|---|---|
| Good | 0 | Good synchronization status, no synchronization problems between the servers within the AFCollective. | |
| Failed | 3 | Synchronization has failed between the collective members. | |
| Retrying | 1 | Retrying synchronization between the collective members. | |
| NoConfiguredPublisher | 4 | There is no configured publisher on the Primary. This occurs when the Primary has not been configured for replication yet. | |
| NoConfiguredSubscriptions | 2 | There are no configured subscriptions on the Primary. This occurs when no Secondary collective members have started replication with the primary. | |
| NoConfiguredSubscriber | 5 | There is no configured subscriber on the Secondary. This occurs when the Secondary has not been configured for replication yet. | |
| SnapshotNotReady | 6 | The snapshot on the Primary is not ready to be synchronized with a Secondary collective member. | |
| Unknown | 255 | An unknown error occurred during synchronization between the servers within the AFCollective. | |
| IsGoodStatus | This extension method will indicate if the AFSyncStatus is considered a good status. |
Remarks
This enumeration is used as the value of the AFCollectiveMember.SyncStatus property.
This represents the status of the synchronization of the data between the PI Asset Database for the Primary member of the collective and the PI Asset Database for a Secondary member of the collective. SQL Replication is used to synchronize the data from the PI Asset Database for the primary collective member to the PI Asset Database for each secondary collective member.