AFVersion.FindVersions Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets all the versions of the owning object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public IList<AFVersion> FindVersions()
Public Function FindVersions As IList(Of AFVersion) Dim instance As AFVersion Dim returnValue As IList(Of AFVersion) returnValue = instance.FindVersions()
public: IList<AFVersion^>^ FindVersions()
member FindVersions : unit -> IList<AFVersion>
Return Value
Type: IListAFVersionReturns a read-only list of all versions of the owning object.
Remarks
This method is used to return a list of all the versions of the owning object.
The returned list is sorted by effective date in descending order. This means that
the latest version is the first item in the list.