Metoda AlertCategoryCollection.Add
Dodaje AlertCategory obiektu, aby AlertCategoryCollection kolekcja.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Agent
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Sub Add ( _
alertCategory As AlertCategory _
)
'Użycie
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
)
Parametry
- alertCategory
Typ: Microsoft.SqlServer.Management.Smo.Agent.AlertCategory
AlertCategory Obiekt, który określa kategorię alert ma zostać usunięty z AlertCategoryCollection kolekcja.
Zobacz także