OperatorCategoryCollection.Add Method
Adds an OperatorCategory object to the OperatorCategoryCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
operatorCategory As OperatorCategory _
)
'Usage
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
)
Parameters
- operatorCategory
Type: Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory
An OperatorCategory object that specifies the operator category to be removed from the OperatorCategoryCollection collection.