Méthode AlertCategoryCollection.Remove (AlertCategory)
Removes an AlertCategory object from 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 Remove ( _
alertCategory As AlertCategory _
)
'Utilisation
Dim instance As AlertCategoryCollection
Dim alertCategory As AlertCategory
instance.Remove(alertCategory)
public void Remove(
AlertCategory alertCategory
)
public:
void Remove(
AlertCategory^ alertCategory
)
member Remove :
alertCategory:AlertCategory -> unit
public function Remove(
alertCategory : AlertCategory
)
Paramètres
- alertCategory
Type : Microsoft.SqlServer.Management.Smo.Agent.AlertCategory
An AlertCategory object that specifies the alert category to be removed from the AlertCategoryCollection collection.