Share via


JobCategory Constructor

Initializes a new instance of the JobCategory class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New JobCategory()
public JobCategory()
public:
JobCategory()
new : unit -> JobCategory
public function JobCategory()

Remarks

The default constructor initializes any fields to their default values.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobCategory Class

JobCategory Overload

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_category (Transact-SQL)