Share via


Add Método

Adds an alert on the instance of Microsoft SQL Server as defined by the Alert object.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Add ( _
    alert As Alert _
)
'Uso
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
)

Parámetros