PIPoint.TryFindPIPoint Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Find a PIPoint on the current PIServer
using the specified point name without throwing an exception.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static bool TryFindPIPoint( PIServer piServer, string pointName, out PIPoint piPoint )
Public Shared Function TryFindPIPoint ( piServer As PIServer, pointName As String, <OutAttribute> ByRef piPoint As PIPoint ) As Boolean Dim piServer As PIServer Dim pointName As String Dim piPoint As PIPoint Dim returnValue As Boolean returnValue = PIPoint.TryFindPIPoint(piServer, pointName, piPoint)
public: static bool TryFindPIPoint( PIServer^ piServer, String^ pointName, [OutAttribute] PIPoint^% piPoint )
static member TryFindPIPoint : piServer : PIServer * pointName : string * piPoint : PIPoint byref -> bool
Parameters
- piServer
- Type: OSIsoft.AF.PIPIServer
The PIServer to search for the desired PIPoint objects. - pointName
- Type: SystemString
The name of the desired PIPoint on the current PIServer. - piPoint
- Type: OSIsoft.AF.PIPIPoint
The returned PIPoint identified by the specified pointName.
Return Value
Type: BooleanReturns if the PIPoint identified by the specified pointName was found. Returns if it was not found.