Partager via


Invoke Method

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

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

Syntaxe

object
.Invoke()

Parts

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

Prototype (C/C++)

HRESULT Invoke();

Notes

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.

Applies To:

Job Object