AFData.EventsCached Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The number of events cached for this AFData instance.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public int EventsCached { get; }
Public ReadOnly Property EventsCached As Integer Get Dim instance As AFData Dim value As Integer value = instance.EventsCached
public: property int EventsCached { int get (); }
member EventsCached : int with get
Property Value
Type: Int32
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | This exception is thrown if this AFData instance is not cached enabled. |