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

AF SDK Reference

PIPoint.FindPIPoints Method (PIServer, IEnumerable(Int32), IEnumerable(String))

PIPoint.FindPIPoints Method (PIServer, IEnumerable(Int32), IEnumerable(String))

  • Last UpdatedNov 18, 2025
  • 3 minute read
PIPoint.FindPIPoints Method (PIServer, IEnumerable(Int32), IEnumerable(String))
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: IListPIPoint
Returns the list of PIPoint objects matching the specified ids.

Remarks

This method finds a list of PIPoint objects from the specified point ids.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10

See Also

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