Start Method (Job) (SQL-DMO)

The Start method executes a SQL Server Agent job.

Applies To

Job Object

Syntax

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.

Remarks

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

Prototype (C/C++)

HRESULT Start(SQLDMO_LPCSTR NewVal = NULL);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.