Share via


AlertCategoryCollection.Remove Method (AlertCategory)

Removes an AlertCategory object from the AlertCategoryCollection collection.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Remove ( _
    alertCategory As AlertCategory _
)
'Usage
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
)

Parameters

Examples

Using Collections

See Also

Reference

AlertCategoryCollection Class

Remove Overload

Microsoft.SqlServer.Management.Smo.Agent Namespace