Metodo AlertCollection.Add
Adds an Alert object to the collection.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub Add ( _
alert As Alert _
)
'Utilizzo
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
)
Parametri
- alert
Tipo: Microsoft.SqlServer.Management.Smo.Agent.Alert
The Alert to add to the AlertCollection collection.