Export (0) Print
Expand All
Expand Minimize

StartStepID Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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


object
.StartStepID [= value]

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

Read/write

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.

Community Additions

ADD
Show:
© 2014 Microsoft