PIPoint.FindPIPoints Method (PIServer, IEnumerable(Int32), IEnumerable(String))
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
Finds a list of PIPoint objects from the specified point ids.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static IList<PIPoint> FindPIPoints( PIServer piServer, IEnumerable<int> ids, IEnumerable<string> attributeNames = null )
Public Shared Function FindPIPoints ( piServer As PIServer, ids As IEnumerable(Of Integer), Optional attributeNames As IEnumerable(Of String) = Nothing ) As IList(Of PIPoint) Dim piServer As PIServer Dim ids As IEnumerable(Of Integer) Dim attributeNames As IEnumerable(Of String) Dim returnValue As IList(Of PIPoint) returnValue = PIPoint.FindPIPoints(piServer, ids, attributeNames)
public: static IList<PIPoint^>^ FindPIPoints( PIServer^ piServer, IEnumerable<int>^ ids, IEnumerable<String^>^ attributeNames = nullptr )
static member FindPIPoints : piServer : PIServer * ids : IEnumerable<int> * ?attributeNames : IEnumerable<string> (* Defaults: let _attributeNames = defaultArg attributeNames null *) -> IList<PIPoint>
Parameters
- piServer
- Type: OSIsoft.AF.PIPIServer
The PIServer to search for the desired PIPoint objects. - ids
- Type: System.Collections.GenericIEnumerableInt32
The point ids of the desired PIPoint objects to search for. - attributeNames (Optional)
- Type: System.Collections.GenericIEnumerableString
The PIPoint attribute names to be loaded from the server as the PIPoint objects are found. The GetAttribute(String) method can be used to access the loaded attribute values. If , then no attribute values are loaded for the returned PIPoints.
Return Value
Type: IListPIPointReturns the list of PIPoint objects matching the specified ids.
Remarks
This method finds a list of PIPoint objects from the specified point ids.