GetEventLogs Method

EventLog.GetEventLogs Method

 

Creates an array of the event logs.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetEventLogs()

Searches for all event logs on the local computer and creates an array of EventLog objects that contain the list.

System_CAPS_pubmethodSystem_CAPS_staticGetEventLogs(String)

Searches for all event logs on the given computer and creates an array of EventLog objects that contain the list.

Return to top
Show:
© 2016 Microsoft