AFTime.ToPIPrecision Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFTime ToPIPrecision()
Public Function ToPIPrecision As AFTime Dim instance As AFTime Dim returnValue As AFTime returnValue = instance.ToPIPrecision()
public: AFTime ToPIPrecision()
member ToPIPrecision : unit -> AFTime
Return Value
Type: AFTimeReturns the AFTime for this AFTime object rounded to the precision supported by the PIServer.
Remarks
The current AFTime object is returned as a new AFTime rounded
to the precision supported by the PIServer.
| This method, property, or class is not available in the legacy .NET 3.5 version of the SDK. |