Invoke Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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



Expression that evaluates to an object in the Applies To list.

HRESULT Invoke();

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.

Community Additions