Click or drag to resize
OSIsoft, LLC

PIPointFindPIPoints Method (PIServer, IEnumerableString, IEnumerableString)

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: 2.10.8.440
Syntax
public static IList<PIPoint> FindPIPoints(
	PIServer piServer,
	IEnumerable<string> names,
	IEnumerable<string> attributeNames = null
)

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

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also