AFDataCache.GetItemUpdateOption Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFDataCacheUpdateOption GetItemUpdateOption( AFAttribute attribute )
Public Function GetItemUpdateOption ( attribute As AFAttribute ) As AFDataCacheUpdateOption Dim instance As AFDataCache Dim attribute As AFAttribute Dim returnValue As AFDataCacheUpdateOption returnValue = instance.GetItemUpdateOption(attribute)
public: AFDataCacheUpdateOption GetItemUpdateOption( AFAttribute^ attribute )
member GetItemUpdateOption : attribute : AFAttribute -> AFDataCacheUpdateOption
Parameters
- attribute
- Type: OSIsoft.AF.AssetAFAttribute
The AFAttribute key
Return Value
Type: AFDataCacheUpdateOptionAFDataCacheUpdateOption for the passed AFAttribute
Exceptions
| Exception | Condition |
|---|---|
| KeyNotFoundException | The AFAttribute has not been added to this AFDataCache. |