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.