Share via


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

  • insertAtColumnName
    Type: System.String
    A string representing the name of the jobstep.

See Also

Reference

JobStepCollection Class

Add Overload

Microsoft.SqlServer.Management.Smo.Agent Namespace