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

AF SDK Reference

AFEnumerationSet.FindEnumerationSets Method (PISystem, Guid[])

AFEnumerationSet.FindEnumerationSets Method (PISystem, Guid[])

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEnumerationSet.FindEnumerationSets Method (PISystem, Guid[])
Performs a search within the PISystem to retrieve a collection of AFEnumerationSet objects with the specified list of unique identifiers.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static AFNamedCollectionList<AFEnumerationSet> FindEnumerationSets(
	PISystem system,
	Guid[] ids
)
Public Shared Function FindEnumerationSets ( 
	system As PISystem,
	ids As Guid()
) As AFNamedCollectionList(Of AFEnumerationSet)

Dim system As PISystem
Dim ids As Guid()
Dim returnValue As AFNamedCollectionList(Of AFEnumerationSet)

returnValue = AFEnumerationSet.FindEnumerationSets(system, 
	ids)
public:
static AFNamedCollectionList<AFEnumerationSet^>^ FindEnumerationSets(
	PISystem^ system, 
	array<Guid>^ ids
)
static member FindEnumerationSets : 
        system : PISystem * 
        ids : Guid[] -> AFNamedCollectionList<AFEnumerationSet> 

Parameters

system
Type: OSIsoft.AFPISystem
The PISystem to search for the desired objects.
ids
Type: SystemGuid
An array of the unique identifiers of the objects to load.

Return Value

Type: AFNamedCollectionListAFEnumerationSet
Returns a collection of the objects in the system which match the unique identifiers in the ids list. If no object can be found for a unique identifier in the list, there will be no corresponding entry in the returned collection. The order of items in the returned collection might not match the order of specified ids, but the returned collection items can be accessed by ID.

Remarks

This method will search for matching objects based upon its ID and load its header from the server if not already loaded in the SDK. If you need a fully loaded object, then the LoadEnumerationSets(PISystem, Guid) method should be used instead.

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, 2.9.5, 2.9

See Also

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