Share via


Alerts Collection

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The Alerts collection contains Alert objects that reference SQL Server Agent alerts.

현재 개체를 보여 주는 SQL-DMO 개체 모델

주의

With the Alerts collection, you can:

  • Create a Microsoft SQL Server alert.

  • Completely remove a SQL Server alert.

For information about creating SQL Server alerts, see Alert Object.

To remove an alert

  • Use the Remove method of the Alerts collection of a connected JobServer object. Indicate the targeted alert using the alert name or the ordinal location in the collection, as in:

    oJobServer.Alerts.Remove("Full Northwind")