共用方式為


AlertType 列舉

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 (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration AlertType
'用途
Dim instance As AlertType
public enum AlertType
public enum class AlertType
type AlertType
public enum AlertType

成員

成員名稱 說明
SqlServerEvent Specifies an event such as an error or a message that is generated by the instance of SQL Server.
SqlServerPerformanceCondition Specifies a condition applied to a specified SQL Server performance counter. For example, the number of connections is greater than 10.
NonSqlServerEvent Specifies a system event.
WmiEvent Specifies an event that is raised by the Windows Management Instrumentation (WMI) Provider interface. This option is available in SQL Server 2005 and SQL Server 2008.

備註

The AlertType enumeration class is served by the AlertType property.