Share via


Job.EnumJobStepsByID Method

Returns an array of JobStep objects that belong to the referenced job and that are ordered by ID value.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumJobStepsByID As JobStep()
'Usage
Dim instance As Job
Dim returnValue As JobStep()

returnValue = instance.EnumJobStepsByID()
public JobStep[] EnumJobStepsByID()
public:
array<JobStep^>^ EnumJobStepsByID()
member EnumJobStepsByID : unit -> JobStep[] 
public function EnumJobStepsByID() : JobStep[]

Return Value

Type: array<Microsoft.SqlServer.Management.Smo.Agent.JobStep[]
A JobStep object array that represents all the job steps that belong to the referenced job. The JobStep objects are ordered by ID value.