The Start method executes a SQL Server Agent job.
object.Start( [ Val ] )
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list. |
| Val | Optional. A string specifying a starting job step by name. |
Use the Start method of the Job object to execute the referenced job on-demand.
HRESULT Start(SQLDMO_LPCSTR NewVal = NULL);