AFDataReferenceMethod Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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 name | Value | Description | |
|---|---|---|---|
| None | 0 | None of the data reference methods are supported. Therefore, an implemented data reference should never return this value. | |
| GetValue | 1 | The GetValue Overload methods are supported by the data reference. | |
| SetValue | 2 | The SetValue(Object, AFValue) method is supported by the data reference. | |
| GetValues | 4 | The GetValues(Object, AFTimeRange, Int32, AFAttributeList, AFValues) method is supported by the data reference. | |
| ZeroAndSpan | 512 | The data reference supports the Zero and Span properties. | |
| CreateConfig | 1024 | The CreateConfig Overload methods are supported by the data reference. | |
| MultipleAttributes | 8192 | 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. |