다음을 통해 공유


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

참고 항목

참조

Job 클래스

Job 오버로드

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_add_job(Transact-SQL)

SQL Server 에이전트에서 자동 관리 태스크 예약