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
)

参数