Compartir a través de


Invoke Method

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

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

Sintaxis

object.Invoke()

Parts

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

Prototype (C/C++)

HRESULT Invoke();

Notas

Use the Invokemethod to start a job. Use the Start method of the Jobobject when on-demand job execution requires a starting step restriction.

Applies To: