Compartilhar via


Método AlertCollection.Add

Adds an Alert object to the collection.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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

Consulte também

Referência

AlertCollection Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent