다음을 통해 공유


Job 생성자

Initializes a new instance of the Job class.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New
‘사용 방법

Dim instance As New Job()
public Job()
public:
Job()
new : unit -> Job
public function Job()

주의

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