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

AF SDK Reference

AFDataCache.MinCacheEventsPerAttribute Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataCache.MinCacheEventsPerAttribute Property
The minimum number of cache events to be kept for each AFAttribute in the cache.

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

Syntax

public int MinCacheEventsPerAttribute { get; set; }
Public Property MinCacheEventsPerAttribute As Integer
	Get
	Set

Dim instance As AFDataCache
Dim value As Integer

value = instance.MinCacheEventsPerAttribute

instance.MinCacheEventsPerAttribute = value
public:
property int MinCacheEventsPerAttribute {
	int get ();
	void set (int value);
}
member MinCacheEventsPerAttribute : int with get, set

Property Value

Type: Int32
The minimum number of cache events to be kept for each AFAttribute in the cache. MinCacheEventsPerAttributes has to be greater than 0 and less than MaxCacheEventsPerAttribute. The default value is 1.

Remarks

CacheTimeSpan, MinCacheEventsPerAttribute and MaxCacheEventsPerAttribute Events more than MaxCacheEventsPerAttribute are trimmed. Events in excess of MinCacheEventsPerAttribute and CacheTimeSpan are subject to trimming. The trimming properties apply to all AFAttributes in the same 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
TitleResults for “How to create a CRG?”Also Available in