AlertCollection.Add 方法

Adds an Alert object to the collection.

命名空间:  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
)

参数

请参阅

参考

AlertCollection 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间