Share via


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

Examples

Using Collections

See Also

Reference

OperatorCategoryCollection Class

Microsoft.SqlServer.Management.Smo.Agent Namespace