Méthode JobStepCollection.Add (JobStep, String)
Adds a JobStep object to the JobStepCollection collection.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
jobStep As JobStep, _
insertAtColumnName As String _
)
'Utilisation
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
)
Paramètres
- 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.