Export (0) Print
Expand All

Job Constructor

Initializes a new instance of the Job class.

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

The default constructor initializes any fields to their default values.

The following code example creates a new, default instance of the Job class.

C#

Job jb = new Job()

PowerShell

$jb = new-object Microsoft.SqlServer.Management.Smo.Agent.Job

Community Additions

ADD
Show:
© 2015 Microsoft