Compartir a través de


Start Method (Job)

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 Start method executes a Microsoft SQL Server Agent service job.

Sintaxis

object.Start( [ Val ] )

Parts

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

  • Val
    Optional. A string that specifies a starting job step by name.

Prototype (C/C++)

HRESULT Start(SQLDMO_LPCSTR NewVal = NULL);

Notas

Use the Start method of the Job object to execute the referenced job on-demand.

Applies To: