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

AF SDK Reference

AFTimeRuleEvent.EndTime Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeRuleEvent.EndTime Property
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

public AFTime EndTime { get; }
Public ReadOnly Property EndTime As AFTime
	Get

Dim instance As AFTimeRuleEvent
Dim value As AFTime

value = instance.EndTime
public:
virtual property AFTime EndTime {
	AFTime get () sealed;
}
abstract EndTime : AFTime with get
override EndTime : AFTime with get

Property Value

Type: AFTime
Represents the end time of the period. This value cannot be earlier than the StartTime.

Implements

IAFTimePeriodEndTime

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.

Remarks

The value of this property is automatically set by the time rule. It can be modified by calling the SetEndTime(Object) method.

Version Information

AFSDK


See Also

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