Megosztás a következőn keresztül:


How to: Notify an Operator of Job Status (SQL Server Management Studio)

This topic describes how to set notification options so Microsoft SQL Server Agent can send notifications to operators about jobs.

To notify an operator of job status

  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 select Properties.

  3. In the Job Properties dialog box, select the Notifications page.

  4. If you want to notify an operator by e-mail, check E-mail, select an operator from the list, and then select one of the following:

    • When the job succeeds to notify the operator when the job completes successfully.

    • When the job failsto notify the operator when the job completes unsuccessfully.

    • When the job completes to notify the operator regardless of completion status.

  5. If you want to notify an operator by pager, check Page, select an operator from the list, and then select one of the following:

    • When the job succeedsto notify the operator when the job completes successfully.

    • When the job failsto notify the operator when the job completes unsuccessfully.

    • When the job completes to notify the operator regardless of completion status.

  6. If you want to notify an operator by net send, check Net send, select an operator from the list, and then select one of the following:

    • When the job succeedsto notify the operator when the job completes successfully.

    • When the job failsto notify the operator when the job completes unsuccessfully.

    • When the job completes to notify the operator regardless of completion status.