Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft