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

AF SDK Reference

AFDataCache.GetItemUpdateOption Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataCache.GetItemUpdateOption Method
Returns the AFDataCacheUpdateOption for an AFAttribute managed by this AFDataCache

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: AFDataCacheUpdateOption
AFDataCacheUpdateOption for the passed AFAttribute

Exceptions

ExceptionCondition
KeyNotFoundException The AFAttribute has not been added to this AFDataCache.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6

See Also

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