Delete Event Source

  • Thread starter Thread starter Thomas
  • Start date Start date
T

Thomas

Hi,

What is the right way to

1) delete an existing event source
2) create a custom event log

-Thomas
 
Hi,
You can use the following methods of the EventLog Class (system.diagnostics
namespace)
1.delete an existing event source
Use DeleteEventSource method
2. Create a custom log
It is automatically created when you create a new source using
CreateEventSource
 
Back
Top