Retrieves a collection of events that the given component parameter instance provides. This collection can differ from the set of events the class provides. If the component parameter is sited, the site can add or remove additional events.
If component is null, then an empty collection is returned.
The order of the returned collection is not guaranteed to be identical between calls, so always order it before use.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)