PIPoint.GetPath Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Returns the full path to the PIPoint, using just the names.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string GetPath()
Public Function GetPath As String Dim instance As PIPoint Dim returnValue As String returnValue = instance.GetPath()
public: String^ GetPath()
member GetPath : unit -> string
Return Value
Type: StringReturns the full path to the PIPoint, using just the names.
Remarks
A path to a PIPoint is created by one of the GetPath Overload methods is restored from a string by the FindPIPoint(String) method.
The GetPath method is similar to using the IPIPersist.Persist method to save an object, but has options that can produce a more human readable format. If the string is encoded with either the ShortName or FriendlyName option, it cannot be restored using FindPIPoint.