Méthode 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 https://msdn.microsoft.com/zh-cn/library/system.string.aspx String value that specifies the name of the object in the collection after which to insert the JobStep object.
Voir aussi