IAFTimePeriod.EndTime Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property represents the end time of the period.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
AFTime EndTime { get; }
ReadOnly Property EndTime As AFTime Get Dim instance As IAFTimePeriod Dim value As AFTime value = instance.EndTime
property AFTime EndTime { AFTime get (); }
abstract EndTime : AFTime with get
Property Value
Type: AFTimeRepresents the end time of the period. This value cannot be earlier than the StartTime.
Remarks
If this property evaluates to AFTime.MaxValue, the
period is considered still in progress and the end time is implied as the current time.
Passing AFTime.MaxValue or
to the SetEndTime(Object) method sets the end time so that the period is implied to be
still in progress.