Partager via


Méthode Add

Adds an AlertCategory object to the AlertCategoryCollection collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Add ( _
    alertCategory As AlertCategory _
)
'Utilisation
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
)

Paramètres