次の方法で共有


AlertCollection.Add メソッド

コレクションに Alert オブジェクトを追加します。

名前空間:  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 名前空間