Invoke Method (SQL-DMO)

The Invoke method executes the SQL Server Agent job referenced.

Applies To

Job Object

Syntax

object.Invoke()

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

Use the Invoke method to start a job, simply, on demand. Use the Start method of the Job object when on-demand job execution requires a starting step restriction.

Prototype (C/C++)

HRESULT Invoke();

  


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