다음을 통해 공유


StartStepID Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The StartStepID property identifies the first step executed when SQL Server Agent runs the referenced job.

구문

object
.StartStepID [= value]

Parts

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

  • value
    A long integer that identifies an existing SQL Server Agent job step by user-specified identifier

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetStartStepID(LPLONG pRetVal);
HRESULT SetStartStepID(long NewValue);

주의

SQL Server Agent job steps are identified by a user-specified integer value. If no value is specified when SQL Distributed Management Objects (SQL-DMO) is used to create a job, job steps are given an identifier value when the job is added to the Jobs collection of a JobServer object.

By default, the StartStepID value is the value of the StepID property in the first ordinal position of the JobSteps collection of the Job object.

Applies To: