다음을 통해 공유


ID 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ID As Integer
    Get
    Set
‘사용 방법
Dim instance As JobStep
Dim value As Integer

value = instance.ID

instance.ID = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public int ID { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property int ID {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
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.