Share via


JobCategoryCollection.Add Method

Adds a JobCategory object to the JobCategoryCollection collection.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    jobCategory As JobCategory _
)
'Usage
Dim instance As JobCategoryCollection 
Dim jobCategory As JobCategory

instance.Add(jobCategory)
public void Add(
    JobCategory jobCategory
)
public:
void Add(
    JobCategory^ jobCategory
)
member Add : 
        jobCategory:JobCategory -> unit
public function Add(
    jobCategory : JobCategory
)

Parameters

Examples

Using Collections

See Also

Reference

JobCategoryCollection Class

Microsoft.SqlServer.Management.Smo.Agent Namespace