 | PIPointFindPIPoints Method (PIServer, IEnumerableInt32, IEnumerableString) |
Finds a list of
PIPoint objects from the specified point ids.
Namespace:
OSIsoft.AF.PI
Assembly:
OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntaxpublic 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 InformationAFSDK
Supported in: 2.10.5, 2.10
See Also