Share via


Job.Invoke Method

Runs the job.

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

Syntax

'Declaration
Public Sub Invoke
'Usage
Dim instance As Job

instance.Invoke()
public void Invoke()
public:
void Invoke()
member Invoke : unit -> unit 
public function Invoke()

Remarks

Use the Invokemethod to start a job. Use the Start method of the Jobobject when a starting step restriction is required.