Partilhar via


How to: Write the Job Status to the Windows Application Log (SQL Server Management Studio)

This topic describes how to configure Microsoft SQL Server Agent to write job status to the Windows application event log.

To write the job status to the Windows application log

  1. In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.

  2. Expand SQL Server Agent, expand Jobs, right-click the job you want to edit, and then click Properties.

  3. Select the Notifications page.

  4. Check Write to Windows application event log, and choose one of the following:

    • Click When the job succeeds to log the job status when the job completes successfully.
    • Click When the job fails to log the job status when the job completes unsuccessfully.
    • Click When the job completes to log the job status regardless of completion status.

See Also

Concepts

Implementing Jobs

Help and Information

Getting SQL Server 2005 Assistance