共用方式為


EnumJobStepsByID 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumJobStepsByID As JobStep()
'用途
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[]

傳回值

型別: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.