共用方式為


AlertType Enumeration

The AlertType enumeration contains values that are used to specify the type of event or performance condition that causes alerts to be raised.

命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration AlertType
public enum AlertType
public enum class AlertType
public enum AlertType
public enum AlertType

Members

Member name Description
NonSqlServerEvent Specifies a system event.
SqlServerEvent Specifies an event such as an error or a message that is generated by the instance of Microsoft SQL Server.
SqlServerPerformanceCondition Specifies a condition applied to a specified Microsoft SQL Server performance counter. For example, the number of connections is greater than 10.
WmiEvent Specifies an event that is raised by the Windows Management Instrumentation (WMI) Provider interface. This option is available for instances running Microsoft SQL Server 2005 and later.

備註

The AlertType enumeration class is served by the AlertType property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo.Agent Namespace