Méthode OperatorCategoryCollection.Add
Adds an OperatorCategory object to the OperatorCategoryCollection collection.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
operatorCategory As OperatorCategory _
)
'Utilisation
Dim instance As OperatorCategoryCollection
Dim operatorCategory As OperatorCategory
instance.Add(operatorCategory)
public void Add(
OperatorCategory operatorCategory
)
public:
void Add(
OperatorCategory^ operatorCategory
)
member Add :
operatorCategory:OperatorCategory -> unit
public function Add(
operatorCategory : OperatorCategory
)
Paramètres
- operatorCategory
Type : Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory
An OperatorCategory object that specifies the operator category to be removed from the OperatorCategoryCollection collection.