Share via


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

Examples

Using Collections

See Also

Reference

JobStepCollection Class

Add Overload

Microsoft.SqlServer.Management.Smo.Agent Namespace