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