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

AF SDK Reference

AFDataReferenceMethod Enumeration

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataReferenceMethod Enumeration
The AFDataReferenceMethod is an enumeration of the possible methods which a data reference supports. It is returned by the AFDataReference.SupportedMethods property.

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

Syntax

[FlagsAttribute]
public enum AFDataReferenceMethod
<FlagsAttribute>
Public Enumeration AFDataReferenceMethod

Dim instance As AFDataReferenceMethod
[FlagsAttribute]
public enum class AFDataReferenceMethod
[<FlagsAttribute>]
type AFDataReferenceMethod

Members

  Member nameValueDescription
None0 None of the data reference methods are supported. Therefore, an implemented data reference should never return this value.
GetValue1 The GetValue Overload methods are supported by the data reference.
SetValue2 The SetValue(Object, AFValue) method is supported by the data reference.
GetValues4 The GetValues(Object, AFTimeRange, Int32, AFAttributeList, AFValues) method is supported by the data reference.
ZeroAndSpan512 The data reference supports the Zero and Span properties.
CreateConfig1024 The CreateConfig Overload methods are supported by the data reference.
MultipleAttributes8192 The data reference provides one or more of the following static methods for retrieving values and/or PIPoints of multiple attributes efficiently: GetValue, ListGetValue, ListUpdateValues, GetPIPoints, or GetRawPIPoints.

Version Information

AFSDK


See Also

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