次の方法で共有


StepID Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。

The StepIDproperty is a user-defined, long integer identifying a SQL Server Agent job step.

構文

object.StepID [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    A long integer

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetStepID(LPLONG pRetVal);
HRESULT SetStepID(long NewValue);

説明

When using SQL Distributed Management Objects (SQL-DMO) to define the steps of a job, set StepID as part of job step creation. A value specified for StepID is used to define the first step executed when SQL Server Agent runs the job, and it is used in properties controlling job step execution flow.

Applies To: