This documentation is archived and is not being maintained.

EventLog.GetEventLogs Method

Creates an array of the event logs.

Name Description
EventLog.GetEventLogs () Searches for all event logs on the local computer and creates an array of EventLog objects that contain the list.
EventLog.GetEventLogs (String) Searches for all event logs on the given computer and creates an array of EventLog objects that contain the list.
Show: