Knowledge Base

Snippets

24

First you need to add, using System.Diagnostics.  This provides the hook to the classes that will enable you to push your error to the Windows Event Log.  Now create the object to interact with it:

EventLog evLog = new EventLog("Application", System.Environment.MachineName, "FlexMLS Image Import");


Read more: http://josef-richberg.squarespace.com/journal/2010/1/31/sending-ssis-information-to-the-windows-event-log.html#ixzz4cEmpUz5s

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Name (required)

Email (required)

Website