AFVersion.ObsoleteDate Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property returns the time when the owning object becomes obsolete.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFTime ObsoleteDate { get; }
Public ReadOnly Property ObsoleteDate As AFTime Get Dim instance As AFVersion Dim value As AFTime value = instance.ObsoleteDate
public: property AFTime ObsoleteDate { AFTime get (); }
member ObsoleteDate : AFTime with get
Property Value
Type: AFTimeReturns the time when the owning object becomes obsolete. The default value is AFTime.MaxValue.
Remarks
The SetObsoleteDate(Object) method can be used to set the value of this property.
By default, this property is AFTime.MaxValue, indicating that the owning object is not considered obsolete.