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

AF SDK Reference

PIPoint.GetPath Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIPoint.GetPath Method
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: String
Returns 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.

Version Information

AFSDK


See Also

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