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

AF SDK Reference

AFRetrievalMode Enumeration

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFRetrievalMode Enumeration
Defines the possible options for retrieving recorded values from an attribute.

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

Syntax

public enum AFRetrievalMode
Public Enumeration AFRetrievalMode

Dim instance As AFRetrievalMode
public enum class AFRetrievalMode
type AFRetrievalMode

Members

  Member nameValueDescription
Auto0 Automatically determine the best retrieval mode.
AtOrBefore1 Return a recorded value at the passed time or if no value exists at that time, the previous recorded value.
Before6 Return the first recorded value before the passed time.
AtOrAfter2 Return a recorded value at the passed time or if no value exists at that time, the next recorded value.
After7 Return the first recorded value after the passed time.
Exact4 Return a recorded value at the passed time or return an error if none exists.

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