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

AF SDK Reference

AFUpdateOption Enumeration

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFUpdateOption Enumeration
Indicates how to treat duplicate values in the archive, when supported by the Data Reference.

Namespace:  OSIsoft.AF.Data
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public enum AFUpdateOption
Public Enumeration AFUpdateOption

Dim instance As AFUpdateOption
public enum class AFUpdateOption
type AFUpdateOption

Members

  Member nameValueDescription
Replace0 Add the value to the archive. If any values exist at the same time, will overwrite one of them and set its Substituted flag.
Insert1 Add the value to the archive. Any existing values at the same time are not overwritten.
NoReplace2 Add the value to the archive only if no value exists at the same time. If a value already exists for that time, the passed value is ignored.
ReplaceOnly3 Replace an existing value in the archive at the specified time. If no existing value is found, the passed value is ignored.
InsertNoCompression5 Add the value to the archive without compression. If this value is written to the snapshot, the previous snapshot value will be written to the archive, without regard to compression settings. Note that if a subsequent snapshot value is written without the InsertNoCompression option, the value added with the InsertNoCompression option is still subject to compression.
Remove6 Remove the value from the archive if a value exists at the passed time.

Remarks

Note Notes to Callers
This method, property, or class is not available in the legacy .NET 3.5 version of the SDK.

Version Information

AFSDK


See Also

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