Start Method (Job)
Questa caratteristica verrà rimossa a partire da 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 Start method executes a Microsoft SQL Server Agent service job.
Sintassi
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);
Osservazioni
Use the Start method of the Job object to execute the referenced job on-demand.