JobStepCollection.Add Method (JobStep)
Adds a JobStep object to the JobStepCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
jobStep As JobStep _
)
'Usage
Dim instance As JobStepCollection
Dim jobStep As JobStep
instance.Add(jobStep)
public void Add(
JobStep jobStep
)
public:
void Add(
JobStep^ jobStep
)
member Add :
jobStep:JobStep -> unit
public function Add(
jobStep : JobStep
)
Parameters
- jobStep
Type: Microsoft.SqlServer.Management.Smo.Agent.JobStep
A JobStep object that specifies the job step to be added to the JobStepCollection collection.