AFDataCache.GetItemUpdateOption Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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. |