Свойство JobStep.ID
Gets or sets the ID value that uniquely identifies the job step.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ID As Integer
Get
Set
'Применение
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)
Значение свойства
Тип: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the job step.
Замечания
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.
Примеры
Планирование автоматических административных задач в агенте SQL Server
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.Agent
Другие ресурсы
Задачи автоматизированного администрирования (агент SQL Server)