Méthode AlertCategoryCollection.Remove (String)
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 ( _
name As String _
)
'Utilisation
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
)
Paramètres
- name
Type : System.String
A String value that specifies the name of the alert category to be removed from the AlertCategoryCollection collection.