Compartir a través de


JobStep.ID Propiedad

Gets or sets the ID value that uniquely identifies the job step.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ID As Integer 
    Get 
    Set
'Uso
Dim instance As JobStep 
Dim value As Integer 

value = instance.ID

instance.ID = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public int ID { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property int ID {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member ID : int with get, set
function get ID () : int 
function set ID (value : int)

Valor de la propiedad

Tipo: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the job step.

Comentarios

The ID of a job step cannot be modified after it has been created. When you create a job step, the ID value of an existing job step can be specified to insert the new job step before the existing job step. The JobStep objects in the JobStepCollection collection is updated automatically to reflect the inserted job step.

If an ID value has not been specified, the job step is appended at the end of the job steps list and is given an ID value that is higher than any other ID value in the job steps list.

Ejemplos

Programar tareas administrativas automáticas en el Agente SQL Server

Vea también

Referencia

JobStep Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent

Otros recursos

Tareas administrativas automatizadas (Agente SQL Server)

sp_help_jobstep (Transact-SQL)