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