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

AF SDK Reference

AFEnumerationSet.LoadEnumerationSets Method (PISystem, Guid[])

AFEnumerationSet.LoadEnumerationSets Method (PISystem, Guid[])

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEnumerationSet.LoadEnumerationSets Method (PISystem, Guid[])
Loads the AFEnumerationSet objects with the specified unique identifiers.

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

Syntax

public static AFNamedCollectionList<AFEnumerationSet> LoadEnumerationSets(
	PISystem system,
	Guid[] ids
)
Public Shared Function LoadEnumerationSets ( 
	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.LoadEnumerationSets(system, 
	ids)
public:
static AFNamedCollectionList<AFEnumerationSet^>^ LoadEnumerationSets(
	PISystem^ system, 
	array<Guid>^ ids
)
static member LoadEnumerationSets : 
        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

Fully loads the AFEnumerationSet objects from the server into the client with the specified ids. If the object is already loaded in memory, then it will be updated if it has been marked as needing to reload by a call to AFDatabaseRefresh. If you do not need the objects fully loaded, you can use the FindEnumerationSets(PISystem, Guid) method which will only load the headers for each object.

Version Information

AFSDK


See Also

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