Share via


AlertCategoryCollection.Remove Method (String)

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 ( _
    name As String _
)
'Usage
Dim instance As AlertCategoryCollection
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)
public:
void Remove(
    String^ name
)
member Remove : 
        name:string -> unit 
public function Remove(
    name : String
)

Parameters