AlertCollection.Add Method (Alert)

 

Adds an Alert object to the collection.

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

public void Add(
	Alert alert
)

Parameters

alert
Type: Microsoft.SqlServer.Management.Smo.Agent.Alert

The Alert to add to the AlertCollection collection.

Return to top
Show: