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

AF SDK Reference

AFSyncStatus Enumeration

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSyncStatus Enumeration
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 nameValueDescription
Good0 Good synchronization status, no synchronization problems between the servers within the AFCollective.
Failed3 Synchronization has failed between the collective members.
Retrying1 Retrying synchronization between the collective members.
NoConfiguredPublisher4 There is no configured publisher on the Primary. This occurs when the Primary has not been configured for replication yet.
NoConfiguredSubscriptions2 There are no configured subscriptions on the Primary. This occurs when no Secondary collective members have started replication with the primary.
NoConfiguredSubscriber5 There is no configured subscriber on the Secondary. This occurs when the Secondary has not been configured for replication yet.
SnapshotNotReady6 The snapshot on the Primary is not ready to be synchronized with a Secondary collective member.
Unknown255 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.

Version Information

AFSDK


See Also

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