AlertCategoryCollection.Remove Método (AlertCategory)
Removes an AlertCategory object from the AlertCategoryCollection collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Remove ( _
alertCategory As AlertCategory _
)
'Uso
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
)
Parámetros
- alertCategory
Tipo: Microsoft.SqlServer.Management.Smo.Agent.AlertCategory
An AlertCategory object that specifies the alert category to be removed from the AlertCategoryCollection collection.