Condividi tramite


Invoke Method

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

object
.Invoke()

Parts

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

Prototype (C/C++)

HRESULT Invoke();

Osservazioni

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