Click or drag to resize
OSIsoft, LLC

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: 2.10.6.195
Syntax
public enum 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 only available in the .NET 4 version of the SDK.

Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence