Metodo AlertCategoryCollection.Add
Adds an AlertCategory object to the AlertCategoryCollection collection.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub Add ( _
alertCategory As AlertCategory _
)
'Utilizzo
Dim instance As AlertCategoryCollection
Dim alertCategory As AlertCategory
instance.Add(alertCategory)
public void Add(
AlertCategory alertCategory
)
public:
void Add(
AlertCategory^ alertCategory
)
member Add :
alertCategory:AlertCategory -> unit
public function Add(
alertCategory : AlertCategory
)
Parametri
- alertCategory
Tipo: Microsoft.SqlServer.Management.Smo.Agent.AlertCategory
An AlertCategory object that specifies the alert category to be added to the AlertCategoryCollection collection.