Condividi tramite


StepID Property

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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

Osservazioni

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:

JobStep Object

Vedere anche

Riferimento

OnFailStep Property
OnSuccessStep Property
StartStepID Property

Guida in linea e informazioni

Assistenza su SQL Server 2005