EventLog.SourceExists Method

 

Searches a computer's registry for a given event source.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSourceExists(String)

Determines whether an event source is registered on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticSourceExists(String, String)

Determines whether an event source is registered on a specified computer.

Return to top
Show: