CimClassEventList.Item (read-only property)

Gets Event by name.
Syntax: Set CimEvent = object.Item ( eventID )
eventID As String - Name of the event to be retrieved from the event list.
Description: CimClassEventList.Item returns a Cimevent by name. Use this method to obtain a CimEvent object for an existing event in the class.


Dim class as CimClassInstance
Dim eventList as CimClassEventList
Dim event as CimEvent
Set eventList = class.Events
Set event = eventList.Item("POINT_EVENT")