Alert.AlertType Property
Gets the AlertType object value that specifies the type of alert.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Синтаксис
'Декларация
Public ReadOnly Property AlertType As AlertType
public AlertType AlertType { get; }
public:
property AlertType AlertType {
AlertType get ();
}
/** @property */
public AlertType get_AlertType ()
public function get AlertType () : AlertType
Значение свойства
An AlertType object value that specifies the type of alert.
Замечания
This property specifies whether the alert is based on a performance condition, and Microsoft SQL Server event or an event that does not come from SQL Server , such as a user-defined message.
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Пример
How to: Create an Alert in Visual Basic .NET
Синхронизация потоков
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
Alert Class
Alert Members
Microsoft.SqlServer.Management.Smo.Agent Namespace
Другие ресурсы
Scheduling Automatic Administrative Tasks in SQL Server Agent
Автоматизация задач администрирования (агент SQL Server)
sp_add_alert (Transact-SQL)