This documentation is archived and is not being maintained.

EventLog.SourceExists Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member SourceExists(String) Determines whether an event source is registered on the local computer.
Public method Static member SourceExists(String, String) Determines whether an event source is registered on a specified computer.
Top
Show: