Invoke Method

SQL-DMO

SQL-DMO

Invoke Method

The Invoke method executes the Microsoft® SQL Server™ 2000 Agent job referenced.

Applies To
Job Object
Syntax

object.Invoke()

Parts

object

Expression that evaluates to an object in the Applies To list

Prototype (C/C++)

HRESULT Invoke();

Remarks

Use the Invoke method to start a job. Use the Start method of the Job object when on-demand job execution requires a starting step restriction.