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

AF SDK Reference

AFQueryMode Enumeration

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFQueryMode Enumeration
The query mode is an enumeration of the possible values for specifying the query criteria.

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

Syntax

public enum AFQueryMode
Public Enumeration AFQueryMode

Dim instance As AFQueryMode
public enum class AFQueryMode
type AFQueryMode

Members

  Member nameValueDescription
None0 This is the value of an uninitialized query mode.
AtOrBefore1 The returned version where the effective date equals the query date or the next version older than the query date.
AtOrAfter2 The returned version where the effective date equals the query date or the next version newer than the query date.
Before3 The returned version will be the next version older than the query date.
After4 The returned version will be the next version newer than the query date.

Remarks

The query mode specifies which values are returned relative to the query's query date.

Version Information

AFSDK


See Also

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