AFDataCache.EventHorizonOffset Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
EventHorizonOffset allows the pipe to return events in the future. The pipe would fetch events with timestamps
up to current time + EventHorizonOffset when calling the GetUpdateEvents/GetObserverEvents methods
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public TimeSpan EventHorizonOffset { get; set; }
Public Property EventHorizonOffset As TimeSpan Get Set Dim instance As AFDataCache Dim value As TimeSpan value = instance.EventHorizonOffset instance.EventHorizonOffset = value
public: property TimeSpan EventHorizonOffset { TimeSpan get (); void set (TimeSpan value); }
member EventHorizonOffset : TimeSpan with get, set
Property Value
Type: TimeSpan
Remarks
Only positive EventHorizonOffset is supported. Negative timespan will cause ArguementException.