共用方式為


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:

Job Object