This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The EventlogLevel property specifies the job completion status that causes an operating system log entry on job completion.
An expression that evaluates to an object in the Applies To list.
Specifies a job completion status as described in Settings.
Logs regardless of success or failure.
Logs failed job completion.
Ignores any completion status. It does not log completion.
Logs successful job completion.
HRESULT GetEventlogLevel(SQLDMO_COMPLETION_TYPE* pRetVal);
HRESULT SetEventlogLevel(SQLDMO_COMPLETION_TYPE NewValue);
Set the EventlogLevel property to enable operating system log entries for the job.