共用方式為


Start Method (Job)

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

The Start method executes a Microsoft SQL Server Agent service job.

語法

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);

備註

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

Applies To: