JobStepCollection.Add Method (JobStep, String)
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, _
insertAtColumnName As String _
)
'Usage
Dim instance As JobStepCollection
Dim jobStep As JobStep
Dim insertAtColumnName As String
instance.Add(jobStep, insertAtColumnName)
public void Add(
JobStep jobStep,
string insertAtColumnName
)
public:
void Add(
JobStep^ jobStep,
String^ insertAtColumnName
)
member Add :
jobStep:JobStep *
insertAtColumnName:string -> unit
public function Add(
jobStep : JobStep,
insertAtColumnName : String
)
Parameters
- jobStep
Type: Microsoft.SqlServer.Management.Smo.Agent.JobStep
A JobStep object that specifies the job step to be added to the JobStepCollection collection.
- insertAtColumnName
Type: System.String
A string representing the name of the jobstep.