Condividi tramite


Invoke Method

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa caratteristica 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 Invokemethod to start a job. Use the Start method of the Jobobject when on-demand job execution requires a starting step restriction.

Applies To: