Метод Add
Adds an alert on the instance of Microsoft SQL Server as defined by the Alert object.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Add ( _
alert As Alert _
)
'Применение
Dim instance As AlertCollection
Dim alert As Alert
instance.Add(alert)
public void Add(
Alert alert
)
public:
void Add(
Alert^ alert
)
member Add :
alert:Alert -> unit
public function Add(
alert : Alert
)
Параметры
- alert
Тип: Microsoft.SqlServer.Management.Smo.Agent. . :: . .Alert
The object to be shown.
См. также