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(String), IEnumerable(String))

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

  • Last UpdatedNov 18, 2025
  • 3 minute read
PIPoint.FindPIPoints Method (PIServer, IEnumerable(String), IEnumerable(String))
Find a list of PIPoint objects from a specified list of point names.

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<string> names,
	IEnumerable<string> attributeNames = null
)
Public Shared Function FindPIPoints ( 
	piServer As PIServer,
	names As IEnumerable(Of String),
	Optional attributeNames As IEnumerable(Of String) = Nothing
) As IList(Of PIPoint)

Dim piServer As PIServer
Dim names As IEnumerable(Of String)
Dim attributeNames As IEnumerable(Of String)
Dim returnValue As IList(Of PIPoint)

returnValue = PIPoint.FindPIPoints(piServer, 
	names, attributeNames)
public:
static IList<PIPoint^>^ FindPIPoints(
	PIServer^ piServer, 
	IEnumerable<String^>^ names, 
	IEnumerable<String^>^ attributeNames = nullptr
)
static member FindPIPoints : 
        piServer : PIServer * 
        names : IEnumerable<string> * 
        ?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.
names
Type: System.Collections.GenericIEnumerableString
The list of point names of the desired PIPoint objects to be found. Note that exact point names are expected. If there are entries containing wildcard, they will be ignored. Hence, only points matching exact name entries will be returned. Use FindPIPoints(PIServer, IEnumerablePIPointQuery, IEnumerableString) or FindPIPoints(PIServer, IListIEnumerablePIPointQuery, IEnumerableString) to search for points with wildcard name or names, respectively.
attributeNames (Optional)
Type: System.Collections.GenericIEnumerableString
The list of 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 names.

Remarks

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

Version Information

AFSDK


See Also

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