Share via


Start Method (Job)

Diese Funktion wird in zukünftigen Versionen von Microsoft SQL Server nicht mehr bereitgestellt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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

Syntax

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

Hinweise

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

Applies To: