JobStepCollection.Add 方法 (JobStep, Int32)
Adds a JobStep object to the JobStepCollection collection.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
jobStep As JobStep, _
insertAtPosition As Integer _
)
'用途
Dim instance As JobStepCollection
Dim jobStep As JobStep
Dim insertAtPosition As Integer
instance.Add(jobStep, insertAtPosition)
public void Add(
JobStep jobStep,
int insertAtPosition
)
public:
void Add(
JobStep^ jobStep,
int insertAtPosition
)
member Add :
jobStep:JobStep *
insertAtPosition:int -> unit
public function Add(
jobStep : JobStep,
insertAtPosition : int
)
參數
- jobStep
型別:Microsoft.SqlServer.Management.Smo.Agent.JobStep
A JobStep object that specifies the job step to be added to the JobStepCollection collection.
- insertAtPosition
型別:System.Int32
An Int32 representing the position in the collection at which to insert the jobStep