Compartilhar via


Invoke Method

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

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

Sintaxe

object.Invoke()

Parts

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

Prototype (C/C++)

HRESULT Invoke();

Comentários

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: